summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-29 10:34:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-31 12:45:25 +0100
commitf844c8d90c8c885a0d4cd43af4a6c67af8fe23e9 (patch)
tree3ea40cede092a74ddcf573db9955e0729db12e06 /tests
parent441ce7e6d61fa4f7b0faf087cc514eafaf7502a6 (diff)
CMake: Test module includes
Change-Id: I1676efff8071fa0fae13bb484a5e18928e35f663 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/cmake/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 4f15a69ec..16f11c966 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -10,3 +10,10 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}")
expect_pass(test_modules)
+
+set(Qt5_MODULE_TEST_DEPENDS Network Widgets)
+
+test_module_includes(
+ Multimedia QCamera
+ MultimediaWidgets QVideoWidget
+)