summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-27 23:39:59 +0800
committerruki <[email protected]>2025-11-27 23:39:59 +0800
commit82d489354c52ffa5ae47803a79dbe8766cd49a08 (patch)
treed631eb39dbb00d62945393d238af59983a26006b
parent96e1ffb8e2991322c58e2c7ff5864367d9bea529 (diff)
pack qt app
-rw-r--r--xmake/rules/qt/xmake.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua
index 69c8ff03a..45e47213c 100644
--- a/xmake/rules/qt/xmake.lua
+++ b/xmake/rules/qt/xmake.lua
@@ -116,6 +116,9 @@ rule("qt.widgetapp")
after_install("windows", "install.windows")
after_install("mingw", "install.mingw")
+ -- install application for xpack
+ on_installcmd("installcmd")
+
-- define rule: qt static widgetapp
rule("qt.widgetapp_static")
add_deps("qt.ui", "qt.moc", "qt._wasm_app", "qt.qrc", "qt.ts")
@@ -144,6 +147,9 @@ rule("qt.widgetapp_static")
after_install("windows", "install.windows")
after_install("mingw", "install.mingw")
+ -- install application for xpack
+ on_installcmd("installcmd")
+
-- define rule: qt quickapp
rule("qt.quickapp")
add_deps("qt.qrc", "qt.moc", "qt._wasm_app", "qt.ts")
@@ -166,6 +172,9 @@ rule("qt.quickapp")
after_install("windows", "install.windows")
after_install("mingw", "install.mingw")
+ -- install application for xpack
+ on_installcmd("installcmd")
+
-- define rule: qt static quickapp
rule("qt.quickapp_static")
add_deps("qt.qrc", "qt.moc", "qt._wasm_app", "qt.ts")
@@ -190,6 +199,9 @@ rule("qt.quickapp_static")
after_install("windows", "install.windows")
after_install("mingw", "install.mingw")
+ -- install application for xpack
+ on_installcmd("installcmd")
+
-- define rule: qt qmlplugin
rule("qt.qmlplugin")
add_deps("qt.shared", "qt.qmltyperegistrar", "qt.ts")