summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-21 19:06:18 +0800
committerruki <[email protected]>2020-11-21 19:06:18 +0800
commit3204d15b4131a2df0bd1ca5258413d2b74915363 (patch)
tree5e79a61225242f5fa6d4ad963e58d91f80364ce1
parent3bba7d268aa9375db82b0983dc80f8ec00f4e59c (diff)
add qt.qrc rules for widgetapp
-rw-r--r--xmake/rules/qt/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/xmake.lua b/xmake/rules/qt/xmake.lua
index 2428c695b..afcaa7e83 100644
--- a/xmake/rules/qt/xmake.lua
+++ b/xmake/rules/qt/xmake.lua
@@ -77,7 +77,7 @@ rule("qt.console")
-- define rule: qt widgetapp
rule("qt.widgetapp")
- add_deps("qt.ui", "qt.moc", "qt._wasm_app")
+ add_deps("qt.ui", "qt.moc", "qt._wasm_app", "qt.qrc")
-- we must set kind before target.on_load(), may we will use target in on_load()
before_load(function (target)
@@ -97,7 +97,7 @@ rule("qt.widgetapp")
-- define rule: qt static widgetapp
rule("qt.widgetapp_static")
- add_deps("qt.ui", "qt.moc", "qt._wasm_app")
+ add_deps("qt.ui", "qt.moc", "qt._wasm_app", "qt.qrc")
-- we must set kind before target.on_load(), may we will use target in on_load()
before_load(function (target)