summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-08-08 15:40:14 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-24 12:17:04 +0000
commitcd5d212634076719db5031812a3417fbc94f1ce3 (patch)
treed2121b5e3521c8814cb7bdeed391fe9e928008f3
parentc4f08c09359cd01763f02f5a18e640428cda4f53 (diff)
qmake: Fix installation of separate debug info for plugins
This amends commit fc2e40e88d44d457ec5ebd1cc235696f3f478be9. For Qt plugins, we do not add 'dlltarget' to INSTALLS but only 'target'. In this case we must add the .dll.debug file to 'target' like we did before fc2e40e88d4. Fixes: QTBUG-105374 Change-Id: If495548dfca55d02e1c5884e03e281e27ee07ccd Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io> (cherry picked from commit 38ca34ac935e222d532fc5f6939efaa15c633b39) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--mkspecs/features/win32/separate_debug_info.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/win32/separate_debug_info.prf b/mkspecs/features/win32/separate_debug_info.prf
index 181ae5219b..8550fdda15 100644
--- a/mkspecs/features/win32/separate_debug_info.prf
+++ b/mkspecs/features/win32/separate_debug_info.prf
@@ -13,7 +13,7 @@ have_target:!static:!isEmpty(QMAKE_OBJCOPY) {
QMAKE_POST_LINK = $$copy_debug_info && $$strip_debug_info && $$link_debug_info $$QMAKE_POST_LINK
silent:QMAKE_POST_LINK = @echo creating $@.debug && $$QMAKE_POST_LINK
- contains(TEMPLATE, lib$) {
+ contains(TEMPLATE, lib$):!plugin {
dlltarget.targets += $$QMAKE_TARGET_DEBUG_INFO
} else {
target.targets += $$QMAKE_TARGET_DEBUG_INFO