From 7e83cccc33ed69252f46962131bbd292c2d1a4ab Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 31 Jul 2025 23:46:24 +0800 Subject: sort qt rules #6659 --- xmake/rules/qt/xmake.lua | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.3.1