From 31d45341804a8fa06ed38c72af37c7c2f61b9e3a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 1 Apr 2020 15:15:11 +0200 Subject: Include qjsengine and qjsvalue autotests in the cmake build This looks like a bug in the pro2cmake tool. It somehow didn't include those two test cases in the build. Modifying the pro file slightly makes pro2cmake add them. Change-Id: If6215f111494d0912e590428a0f4ca2c3b653856 Reviewed-by: Ulf Hermann --- tests/auto/qml/.prev_CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/qml/.prev_CMakeLists.txt') diff --git a/tests/auto/qml/.prev_CMakeLists.txt b/tests/auto/qml/.prev_CMakeLists.txt index 3f453e4ded..7bcdb68e09 100644 --- a/tests/auto/qml/.prev_CMakeLists.txt +++ b/tests/auto/qml/.prev_CMakeLists.txt @@ -26,6 +26,10 @@ add_subdirectory(qqmlsettings) add_subdirectory(qqmlstatemachine) add_subdirectory(qmldiskcache) add_subdirectory(qqmlmetatype) +if(TARGET Qt::Widgets) + add_subdirectory(qjsengine) + add_subdirectory(qjsvalue) +endif() if(QT_FEATURE_process AND QT_FEATURE_qml_debug) add_subdirectory(debugger) endif() -- cgit v1.2.3