summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-29 10:51:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-31 09:50:08 +0100
commit05cbb30e058d2f4ee79528f59707fa4ad0fe63bd (patch)
tree27915c9bd1d9a2f3c2b08cec7aea6ec49bddd3b1 /tests
parent56425ff6c2614ef0de9bff8c41e9abd50ebda655 (diff)
downloadqttools-05cbb30e058d2f4ee79528f59707fa4ad0fe63bd.tar.gz
CMake: Test module includes
Change-Id: Ib1b7440a4537cc934eeec78c5b5e1a1ffbcbd222 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 2ec3aeac4..503915429 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -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()