From f1f81bad2bbef80078735adcb92278953d57ec31 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 24 Jan 2024 14:29:16 +0100 Subject: Enable autotools manually for the manual tests "shared" subdirectory Change-Id: I9657927a02ab6548b9744d3b987b347340af13cb Reviewed-by: Alexandru Croitor --- tests/manual/shared/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/manual') diff --git a/tests/manual/shared/CMakeLists.txt b/tests/manual/shared/CMakeLists.txt index 629a35539e..bef105cb9c 100644 --- a/tests/manual/shared/CMakeLists.txt +++ b/tests/manual/shared/CMakeLists.txt @@ -38,6 +38,11 @@ qt_add_qml_module(${PROJECT_NAME}_shared "images/tab.png" ) +qt_autogen_tools(${PROJECT_NAME}_shared ENABLE_AUTOGEN_TOOLS "moc" "rcc") +if(TARGET Qt::Widgets) + qt_autogen_tools(${PROJECT_NAME}_shared ENABLE_AUTOGEN_TOOLS "uic") +endif() + include(QtBundleQmlModuleForMacOS.cmake) # Puts the shared qml module plugin and qmldir into the macOS app bundle directory. # Only call this function if your main project has the MACOSX_BUNDLE option set. -- cgit v1.2.3