diff options
author | Andy Shaw <andy.shaw@qt.io> | 2019-12-13 13:14:34 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2020-01-02 14:26:26 +0000 |
commit | ee1b77e13240ae9e68af62ed9cfadabe3f8c936e (patch) | |
tree | 659f17644f8c9be0059f06a55384fff5cc843a00 /mkspecs/features | |
parent | 05e5306787d3511ce9df2ffc8dbefe529f889eb6 (diff) |
dumpcpp: Use tblCopy to ensure the path is detected correctly
This amends faf742b05d0564a58bfe0290e53e0b2844bc59c1
Change-Id: Ia80a4274f61d895c297b2fae5df62c86db95c14c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/win32/dumpcpp.prf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/win32/dumpcpp.prf b/mkspecs/features/win32/dumpcpp.prf index d19da3d077..589d700e4e 100644 --- a/mkspecs/features/win32/dumpcpp.prf +++ b/mkspecs/features/win32/dumpcpp.prf @@ -26,9 +26,9 @@ QMAKE_EXTRA_COMPILERS += dumpcpp_impl !build_pass:have_target:!contains(TEMPLATE, vc.*) { for(tlb, TYPELIBS) { tlbCopy = $$replace(tlb, \", ) - hdr = $$basename(tlb) + hdr = $$basename(tlbCopy) hdr = $$section(hdr, ., 0, -2) - tmp_command = $$QMAKE_DUMPCPP $$system_quote($$absolute_path($$tlb, $$_PRO_FILE_PWD_)) \ + tmp_command = $$QMAKE_DUMPCPP $$system_quote($$absolute_path($$tlbCopy, $$_PRO_FILE_PWD_)) \ -o $$system_quote($$OUT_PWD/$$hdr) qaxcontainer_compat: tmp_command += -compat !exists($$OUT_PWD/$${hdr}.h): system($$tmp_command) |