Use qmake for package dependency resolution in cmake tests.

This allows us to remove hardcoded depends information.

Change-Id: If8f3b8e9e75db3b0b78864626314ebebb96c548f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Stephen Kelly
2013-02-26 13:26:45 +01:00
committed by The Qt Project
parent c26dc07a55
commit 9b3b9fbd02
2 changed files with 2 additions and 2 deletions

View File

@@ -9,8 +9,6 @@ find_package(Qt5Core REQUIRED)
include("${_Qt5CTestMacros}") include("${_Qt5CTestMacros}")
set(Qt5_MODULE_TEST_DEPENDS Network Widgets)
test_module_includes( test_module_includes(
Multimedia QCamera Multimedia QCamera
MultimediaWidgets QVideoWidget MultimediaWidgets QVideoWidget

View File

@@ -2,4 +2,6 @@
# Cause make to do nothing. # Cause make to do nothing.
TEMPLATE = subdirs TEMPLATE = subdirs
CMAKE_QT_MODULES_UNDER_TEST = multimedia multimediawidgets
CONFIG += ctest_testcase CONFIG += ctest_testcase