summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorkellygod <[email protected]>2024-05-13 15:14:16 +0800
committerkellygod <[email protected]>2024-05-13 15:16:57 +0800
commit9a26b404d6b77fd11e8b0fb25939fb0e0b62f9b2 (patch)
tree28f34223be2c1e1fd06c1cca4f9ef34849371fce /xmake/plugins
parent619079e952be45e1f61077cf7fb035ba0ef45e5e (diff)
fix vs project not found *.qrc(QT) files
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/vsxmake/vsxmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/project/vsxmake/vsxmake.lua b/xmake/plugins/project/vsxmake/vsxmake.lua
index 37c19af45..bae206cee 100644
--- a/xmake/plugins/project/vsxmake/vsxmake.lua
+++ b/xmake/plugins/project/vsxmake/vsxmake.lua
@@ -139,6 +139,9 @@ function _buildparams(info, target, default)
elseif args.fileui then -- for qt/.ui
local files = info._targets[target].sourcefiles
table.insert(r, _filter_files(files, {".ui"}))
+ elseif args.fileqrc then -- for qt/.qrc
+ local files = info._targets[target].sourcefiles
+ table.insert(r, _filter_files(files, {".qrc"}))
elseif args.incc then
local files = table.join(info._targets[target].headerfiles or {}, info._targets[target].extrafiles)
table.insert(r, _filter_files(files, nil, {".natvis"}))