diff options
| -rw-r--r-- | tests/projects/qt/quickplugin/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/rules/qt/xmake.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/qt/quickplugin/xmake.lua b/tests/projects/qt/quickplugin/xmake.lua index 6544b6bb9..97cade54a 100644 --- a/tests/projects/qt/quickplugin/xmake.lua +++ b/tests/projects/qt/quickplugin/xmake.lua @@ -1,7 +1,7 @@ add_rules("mode.debug", "mode.release") target("demo") - add_rules("qt.quickplugin") + add_rules("qt.qmlplugin") add_headerfiles("src/*.h") add_files("src/*.cpp") diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua index 5ac3c9392..b8cc59cfd 100644 --- a/xmake/rules/qt/xmake.lua +++ b/xmake/rules/qt/xmake.lua @@ -235,8 +235,8 @@ rule("qt.quickapp_static") on_install("android", "install.android") after_install("windows", "install.windows") --- define rule: qt quickplugin -rule("qt.quickplugin") +-- define rule: qt qmlplugin +rule("qt.qmlplugin") add_deps("qt.shared", "qt.qmltyperegistrar") on_load(function(target) import("load")(target, {frameworks = { "QtCore", "QtGui", "QtQuick", "QtQml", "QtNetwork" }}) |
