diff --git a/examples/quick/CMakeLists.txt b/examples/quick/CMakeLists.txt index 7dd76afd21..734195e0f7 100644 --- a/examples/quick/CMakeLists.txt +++ b/examples/quick/CMakeLists.txt @@ -41,7 +41,13 @@ endif() # qt_examples_build_end() misses at least some of these due to some # source subdirectories being added multiple times. See QTBUG-96159. set(reused_dir_targets - view_shared + animation_shared + canvas_shared + views_shared + positioners_shared + righttoleft_shared + text_shared + threading_shared touchinteraction_shared window_shared shapes_shared diff --git a/src/qml/CMakeLists.txt b/src/qml/CMakeLists.txt index b2fea1d590..467f0638bd 100644 --- a/src/qml/CMakeLists.txt +++ b/src/qml/CMakeLists.txt @@ -688,4 +688,5 @@ qt_internal_add_docs(Qml if(QT_FEATURE_private_tests AND CMAKE_VERSION VERSION_GREATER_EQUAL "3.19") add_subdirectory(doc/snippets/cmake/qt_target_qml_sources) qt_autogen_tools(qt_target_qml_sources_example ENABLE_AUTOGEN_TOOLS moc) + qt_autogen_tools(qt_target_qml_sources_exampleplugin ENABLE_AUTOGEN_TOOLS moc) endif()