summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-14 12:55:05 +0800
committerGitHub <[email protected]>2020-04-14 12:55:05 +0800
commitef386648e53a46dedf78e859f48cf136ce36121b (patch)
tree7a83325f723c1c3d0d915efc03d8c3bd0b2a97b6
parent1d3fc6255fc2880e251dab99ffc62a2e3dac70c2 (diff)
parent0b69d0beca72d5db20aa6cde24aea5a7e5687f18 (diff)
Merge pull request #765 from KellyGodLv/master
unresolved external symbol qInitResources_xxxx
-rw-r--r--xmake/rules/qt/qrc/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/qrc/xmake.lua b/xmake/rules/qt/qrc/xmake.lua
index a78d57409..b21ce0439 100644
--- a/xmake/rules/qt/qrc/xmake.lua
+++ b/xmake/rules/qt/qrc/xmake.lua
@@ -91,7 +91,7 @@ rule("qt.qrc")
end
-- compile qrc
- os.vrunv(rcc, {"-name", "qml", sourcefile_qrc, "-o", sourcefile_cpp})
+ os.vrunv(rcc, {"-name", path.basename(sourcefile_qrc), sourcefile_qrc, "-o", sourcefile_cpp})
-- trace
if option.get("verbose") then