diff options
| author | ruki <[email protected]> | 2024-01-23 11:12:57 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-23 11:12:57 +0800 |
| commit | 3456995d83116bc62b2b516c112459805a769fbc (patch) | |
| tree | 27ffbd18214e3bd6a282beb958c7ba1c0877e91a | |
| parent | 089d5e0620bea0163983c005c70d0d6416be9aaf (diff) | |
| parent | b2668582dd9bad354e8aa45e6bf0d060f60cb6cc (diff) | |
Merge pull request #4639 from RC1844/patch-1
fix qt.qrc rule
| -rw-r--r-- | xmake/rules/qt/qrc/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/qrc/xmake.lua b/xmake/rules/qt/qrc/xmake.lua index 05b35dbdd..60653d080 100644 --- a/xmake/rules/qt/qrc/xmake.lua +++ b/xmake/rules/qt/qrc/xmake.lua @@ -44,7 +44,7 @@ rule("qt.qrc") local rcc = target:data("qt.rcc") -- get c++ source file for qrc - local sourcefile_cpp = path.join(target:autogendir(), "rules", "qt", "qrc", path.basename(sourcefile_qrc) .. ".cpp") + local sourcefile_cpp = path.join(target:autogendir(), "rules", "qt", "qrc", path.basename(sourcefile_qrc).. "_" .. hash.uuid4(sourcefile_qrc):split('%-')[1] .. ".cpp") local sourcefile_dir = path.directory(sourcefile_cpp) -- add objectfile |
