diff options
| author | Doekin <[email protected]> | 2024-11-29 10:25:32 +0800 |
|---|---|---|
| committer | Doekin <[email protected]> | 2024-11-29 10:25:32 +0800 |
| commit | 4b1437e4deca1251ca054f3d69ea96b00644a53c (patch) | |
| tree | 2768be55463245ba1116bcdbccc07f11de8cd290 /tests/projects/qt/quickplugin/xmake.lua | |
| parent | c9084b14e42ad61e3b44ee73f3393b1055421897 (diff) | |
improve demo qmlplugin
Diffstat (limited to 'tests/projects/qt/quickplugin/xmake.lua')
| -rw-r--r-- | tests/projects/qt/quickplugin/xmake.lua | 2 |
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 |
