summaryrefslogtreecommitdiff
path: root/tests/projects/qt/quickplugin/xmake.lua
diff options
context:
space:
mode:
authorDoekin <[email protected]>2024-11-29 10:25:32 +0800
committerDoekin <[email protected]>2024-11-29 10:25:32 +0800
commit4b1437e4deca1251ca054f3d69ea96b00644a53c (patch)
tree2768be55463245ba1116bcdbccc07f11de8cd290 /tests/projects/qt/quickplugin/xmake.lua
parentc9084b14e42ad61e3b44ee73f3393b1055421897 (diff)
improve demo qmlplugin
Diffstat (limited to 'tests/projects/qt/quickplugin/xmake.lua')
-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