summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-12 07:11:15 +0800
committerGitHub <[email protected]>2022-07-12 07:11:15 +0800
commita0242072d307b331217f0d2d058032fb44829c4a (patch)
treee9bcd0235a6c21b95a26e621379940201f9853f6
parentb4762f0046b0b11e4dac93a227f13372ee2f51b0 (diff)
Update windows.lua
-rw-r--r--xmake/rules/qt/install/windows.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/install/windows.lua b/xmake/rules/qt/install/windows.lua
index bcd01cc35..26ef5febb 100644
--- a/xmake/rules/qt/install/windows.lua
+++ b/xmake/rules/qt/install/windows.lua
@@ -38,7 +38,7 @@ function main(target, opt)
assert(os.isexec(windeployqt), "windeployqt.exe not found!")
-- 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