diff options
-rw-r--r-- | examples/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/qmldevtools/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/qmltest/CMakeLists.txt | 3 |
3 files changed, 9 insertions, 6 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 74e685448e..81892b1661 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -2,9 +2,9 @@ add_subdirectory(qml) -if(TARGET Qt::QuickTest) - add_subdirectory(qmltest) -endif() +#if(TARGET Qt::QuickTest) + #add_subdirectory(qmltest) +#endif() #if(TARGET Qt::Quick) #add_subdirectory(quick) diff --git a/src/qmldevtools/CMakeLists.txt b/src/qmldevtools/CMakeLists.txt index c8df1b7a75..586ad4ac47 100644 --- a/src/qmldevtools/CMakeLists.txt +++ b/src/qmldevtools/CMakeLists.txt @@ -58,9 +58,9 @@ qt_process_qlalr("${CMAKE_CURRENT_SOURCE_DIR}/../qml/parser/qqmljs.g" QmlDevTool # until we fix the script to handle internal_module to create only one single Private module. qt_internal_module_info(qml_module "Qml") set(_qml_dev_tools_private_includes - ${qml_module_include_dir} - ${qml_module_include_dir}/${PROJECT_VERSION} - ${qml_module_include_dir}/${PROJECT_VERSION}/${qml_module} + $<BUILD_INTERFACE:${qml_module_include_dir}> + $<BUILD_INTERFACE:${qml_module_include_dir}/${PROJECT_VERSION}> + $<BUILD_INTERFACE:${qml_module_include_dir}/${PROJECT_VERSION}/${qml_module}> ) target_include_directories(QmlDevTools PRIVATE ${_qml_dev_tools_private_includes}) target_include_directories(QmlDevToolsPrivate INTERFACE ${_qml_dev_tools_private_includes}) diff --git a/src/qmltest/CMakeLists.txt b/src/qmltest/CMakeLists.txt index b5d8a61d45..c9d13711d7 100644 --- a/src/qmltest/CMakeLists.txt +++ b/src/qmltest/CMakeLists.txt @@ -17,6 +17,9 @@ add_qt_module(QuickTest QT_NO_URL_CAST_FROM_STRING LIBRARIES Qt::TestPrivate + Qt::Quick # special case + Qt::QuickPrivate # special case + Qt::QmlPrivate # special case PUBLIC_LIBRARIES Qt::Core Qt::Test |