summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-06 17:19:53 +0800
committerGitHub <[email protected]>2025-08-06 17:19:53 +0800
commit248afd9bd01f8135e813616f6ce81467decd9dc1 (patch)
treeec51e255431ff98aeec896d3b771aa55f6d2af55 /xmake/rules
parent8be13f815541675a1592f58505c047e0f27b3a8e (diff)
parent30200cba21674a06566c3da913cc7c57f5fd4752 (diff)
Merge pull request #6676 from xmake-io/config
Merge pull request #6667 from xmake-io/config
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/qt/xmake.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua
index 69c8ff03a..99f6c8c6e 100644
--- a/xmake/rules/qt/xmake.lua
+++ b/xmake/rules/qt/xmake.lua
@@ -68,6 +68,7 @@ rule("qt.shared")
-- define rule: qt console
rule("qt.console")
add_deps("qt.qrc", "qt.ui", "qt.moc", "qt.ts")
+ add_orders("qt.console", "platform.windows.subsystem")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)
@@ -84,6 +85,7 @@ rule("qt.console")
-- define rule: qt widgetapp
rule("qt.widgetapp")
add_deps("qt.ui", "qt.moc", "qt._wasm_app", "qt.qrc", "qt.ts")
+ add_orders("qt.widgetapp", "platform.windows.subsystem")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)
@@ -119,6 +121,7 @@ rule("qt.widgetapp")
-- define rule: qt static widgetapp
rule("qt.widgetapp_static")
add_deps("qt.ui", "qt.moc", "qt._wasm_app", "qt.qrc", "qt.ts")
+ add_orders("qt.widgetapp_static", "platform.windows.subsystem")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)
@@ -147,6 +150,7 @@ rule("qt.widgetapp_static")
-- define rule: qt quickapp
rule("qt.quickapp")
add_deps("qt.qrc", "qt.moc", "qt._wasm_app", "qt.ts")
+ add_orders("qt.quickapp", "platform.windows.subsystem")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)
@@ -169,6 +173,7 @@ rule("qt.quickapp")
-- define rule: qt static quickapp
rule("qt.quickapp_static")
add_deps("qt.qrc", "qt.moc", "qt._wasm_app", "qt.ts")
+ add_orders("qt.quickapp_static", "platform.windows.subsystem")
-- we must set kind before target.on_load(), may we will use target in on_load()
on_load(function (target)