qmake: Fix installation of separate debug info for plugins
This amends commitfc2e40e88d
. 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 beforefc2e40e88d
. Fixes: QTBUG-105374 Pick-to: 5.15 6.2 6.3 6.4 Change-Id: If495548dfca55d02e1c5884e03e281e27ee07ccd Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
parent
4d68db43e6
commit
38ca34ac93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user