summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-12 07:10:52 +0800
committerGitHub <[email protected]>2022-07-12 07:10:52 +0800
commitb4762f0046b0b11e4dac93a227f13372ee2f51b0 (patch)
tree6463d92d0f744d9bb3986b4dea09296438834d06
parent395a0846ab74bfb9ad41240e7893b8c897e5b344 (diff)
Update macosx.lua
-rw-r--r--xmake/rules/qt/deploy/macosx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/deploy/macosx.lua b/xmake/rules/qt/deploy/macosx.lua
index 65a246a90..e6223a8c7 100644
--- a/xmake/rules/qt/deploy/macosx.lua
+++ b/xmake/rules/qt/deploy/macosx.lua
@@ -103,7 +103,7 @@ function main(target, opt)
_save_info_plist(target, path.join(target_contents, "Info.plist"))
-- find qml directory
- local qmldir = target:values("qt.deploy.qmldir") or nil
+ local qmldir = target:values("qt.deploy.qmldir")
if not qmldir then
for _, sourcebatch in pairs(target:sourcebatches()) do
if sourcebatch.rulename == "qt.qrc" then