summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2024-11-29 12:24:50 +0800
committerGitHub <[email protected]>2024-11-29 12:24:50 +0800
commitea71bb8cbde3706e801414a2ef993557fe388b79 (patch)
tree2768be55463245ba1116bcdbccc07f11de8cd290 /tests/projects
parent24474296c05b1b9dcb6c31443c5627907c91a68c (diff)
parent4b1437e4deca1251ca054f3d69ea96b00644a53c (diff)
Merge pull request #5903 from Doekin/qmltyperegistrar
improve QML Plugin
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/qt/quickplugin/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/projects/qt/quickplugin/xmake.lua b/tests/projects/qt/quickplugin/xmake.lua
index afd4cc59b..105477938 100644
--- a/tests/projects/qt/quickplugin/xmake.lua
+++ b/tests/projects/qt/quickplugin/xmake.lua
@@ -4,5 +4,7 @@ target("demo")
add_rules("qt.qmlplugin")
add_headerfiles("src/*.h")
add_files("src/*.cpp")
+ -- add files with Q_OBJECT meta (only for qt.moc)
+ add_files("src/*.h")
set_values("qt.qmlplugin.import_name", "My.Plugin") \ No newline at end of file