aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2024-04-04 11:15:09 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2024-04-05 17:45:43 +0200
commit4b5f091c499b5aad66a8b39fcdab8f80d986a1f8 (patch)
treee11af475484a8c6207234af02706f62f1514418d
parent284b5a2d507d189ec8ed1c30a377f6360d280cd2 (diff)
tst_qmltyperegistrar: Add missing autotool setup for plugin target
Otherwise, toplevel builds might fail if moc hasn't been build yet. Amends f080d0309d4c1d0d8a96dabe832162c5f41b881f. Pick-to: 6.7 6.5 Change-Id: Ifcdbc05a839f253d2aed192f38826e631bbf09c3 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Orkun Tokdemir <orkun.tokdemir@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--tests/auto/qml/qmltyperegistrar/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt
index acc5186644..45669769e4 100644
--- a/tests/auto/qml/qmltyperegistrar/CMakeLists.txt
+++ b/tests/auto/qml/qmltyperegistrar/CMakeLists.txt
@@ -113,4 +113,5 @@ qt_enable_autogen_tool(tst-qmltyperegistrar-enum "moc" ON)
target_link_libraries(tst-qmltyperegistrar-enum PRIVATE Qt::Qml tst-qmltyperegistrar-enum-foreign)
qt_add_qml_module(tst-qmltyperegistrar-enum URI TstEnum OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/TstEnum)
+qt_autogen_tools_initial_setup(tst-qmltyperegistrar-enumplugin)
qt_generate_foreign_qml_types(tst-qmltyperegistrar-enum-foreign tst-qmltyperegistrar-enum)