CMake: Test module includes
authorStephen Kelly <stephen.kelly@kdab.com>
Mon, 29 Oct 2012 09:51:16 +0000 (10:51 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 31 Oct 2012 08:50:08 +0000 (09:50 +0100)
Change-Id: Ib1b7440a4537cc934eeec78c5b5e1a1ffbcbd222
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/cmake/CMakeLists.txt

index 2ec3aea..5039154 100644 (file)
@@ -36,4 +36,13 @@ endif()
 find_package(Qt5Widgets)
 if (Qt5Widgets_FOUND)
     expect_pass(test_modules)
+
+    set(Qt5_MODULE_TEST_DEPENDS Xml Widgets)
+
+    test_module_includes(
+      Designer QFormBuilder
+      Help QHelpSearchQuery
+      UiTools QUiLoader
+    )
+
 endif()