qt5base-lts/tests/auto
Miikka Heikkinen b188221fee Fix QPrinter test in Windows
Fixed Q_WS_WIN flagging to Q_OS_WIN in QPrinter API and related
implementation to make API match the documentation and Qt 4.8.
Also Removed the unused internal HDC related functions from the API,
that were previously behind Q_WS_WIN flag.

Some of the properties tested are documented to be valid for native
print engine only in X11 environment, so skipped testing those in
non-xcb environments.

Copy collation is also apparently not supported in Windows native print
engine, though this seems to be undocumented, so skipped that only in
Windows.

At least one of the test blocks in tst_QPrinter::valuePreservation()
failed due to default printer not getting set properly, so fixed that,
too.

Task-number: QTBUG-24191
Task-number: QTBUG-22927
Change-Id: I44a5e3d647a1279fcc7f1e99de6881f9be330246
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-03-23 00:41:34 +01:00
..
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove commented code from qtconcurrentmap autotest. 2012-03-14 07:51:45 +01:00
corelib Make comment() work in the C locale too. 2012-03-22 13:29:50 +01:00
dbus Avoid using internal testlib API in QDbusConnection autotest. 2012-03-05 03:44:01 +01:00
gui Make tst_qmovie work in shadow builds 2012-03-22 18:59:45 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Allow autobound UDP sockets to send to IPv4 and IPv6 2012-03-22 18:59:45 +01:00
opengl EGLFS: Integrate building into configure. 2012-03-21 03:03:29 +01:00
other More UTF8 fix of raster autotest 2012-03-22 18:59:45 +01:00
printsupport Fix QPrinter test in Windows 2012-03-23 00:41:34 +01:00
shared Refactor input context tests 2012-02-22 13:54:13 +01:00
sql QSqlTableModel::removeRows() enforce edit strategy 2012-03-15 15:35:43 +01:00
testlib testlib: Improve formatting of QCOMPARE failure messages. 2012-03-12 01:50:20 +01:00
tools remove strange .qmake.cache hacks 2012-03-08 18:54:46 +01:00
widgets Fix QSysInfo::WindowsVersion checking (QSysInfo::WV_NT_based is a mask) 2012-03-22 16:13:21 +01:00
xml clean up qmake-generated projects 2012-02-24 05:18:30 +01:00
auto.pro Disable some tests and examples when --no-widgets is specified 2012-03-19 20:16:04 +01:00
network-settings.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00