Bug 79364 - [Qt] Add Qt5 way to force 96 DPI for tests
Summary: [Qt] Add Qt5 way to force 96 DPI for tests
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P3 Normal
Assignee: Balazs Kelemen
Keywords: Qt, QtTriaged
Depends on:
Reported: 2012-02-23 07:49 PST by Balazs Kelemen
Modified: 2012-02-24 06:42 PST (History)
1 user (show)

See Also:

Patch (2.16 KB, patch)
2012-02-23 07:53 PST, Balazs Kelemen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Kelemen 2012-02-23 07:49:36 PST
So far it was missing because in Qt4 we did this via QX11Info which is no longer available.
I have just found in qtest.h that qt5 has a special setting for this, so we can easily fix it.
Comment 1 Balazs Kelemen 2012-02-23 07:53:51 PST
Created attachment 128478 [details]
Comment 2 Simon Hausmann 2012-02-23 13:04:19 PST
Comment on attachment 128478 [details]

Very nice solution!
Comment 3 Balazs Kelemen 2012-02-24 06:42:09 PST
Comment on attachment 128478 [details]

Clearing flags on attachment: 128478

Committed r108790: <http://trac.webkit.org/changeset/108790>
Comment 4 Balazs Kelemen 2012-02-24 06:42:16 PST
All reviewed patches have been landed.  Closing bug.