summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-22 09:31:51 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-25 14:10:04 +0200
commit1550c461795d952afd98d6282e538e8894fa923b (patch)
tree82dd1edf8b02a975cd8cac213f65b6dcd1f305ac /tests/auto/cmake
parentc4109fe10370b7b27b22ddc9db4286db34ea9c4e (diff)
Add missing test for the Qt5PrintSupport module.
Change-Id: Ic3860cc13fbb37a1d3ae63ad100b7d722a987272 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/cmake')
-rw-r--r--tests/auto/cmake/test_modules/CMakeLists.txt1
-rw-r--r--tests/auto/cmake/test_modules/main.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cmake/test_modules/CMakeLists.txt b/tests/auto/cmake/test_modules/CMakeLists.txt
index d96db7d557..30a726b10f 100644
--- a/tests/auto/cmake/test_modules/CMakeLists.txt
+++ b/tests/auto/cmake/test_modules/CMakeLists.txt
@@ -13,6 +13,7 @@ set(qtbase_modules
Sql
Test
Xml
+ PrintSupport
)
if (UNIX AND NOT APPLE AND NOT QNXNTO)
diff --git a/tests/auto/cmake/test_modules/main.cpp b/tests/auto/cmake/test_modules/main.cpp
index 02fc4d2064..2bb885dd5c 100644
--- a/tests/auto/cmake/test_modules/main.cpp
+++ b/tests/auto/cmake/test_modules/main.cpp
@@ -48,6 +48,7 @@
#include <QtTest>
#include <QWidget>
#include <QDomDocument>
+#include <QPrintDialog>
#ifdef EXPECT_DBUS_AVAILABLE
#include <QDBusMessage>
@@ -71,6 +72,8 @@ int main(int argc, char **argv)
QDomDocument domDocument;
+ QPrintDialog printDialog;
+
#ifdef EXPECT_DBUS_AVAILABLE
QDBusMessage dBusMessage;
#endif