diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-10-19 17:20:44 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-29 15:17:55 +0100 |
commit | 3c4574e3631b998d228a33fe2186ea6370a69193 (patch) | |
tree | 731c8f4d58ffa34ec50ddfe9879c0e9b312761ac | |
parent | a58a4e0c7be87eb29005b84d99d85138491a7067 (diff) |
CMake: Add a test for module includes
Change-Id: Ie9fd7929c1ea22f8acf51bafce64ade74d51a00e
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r-- | tests/auto/cmake/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index 4f15a69ec8..43f826db02 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 Gui) + +test_module_includes( + Qml QQmlEngine + Quick QQuickWindow +) |