install pdb files for dlltarget

Task-number: QTBUG-31129
Change-Id: I49ef3472d12b291999b4194b014b200df4b0f22d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-11-18 19:50:30 +01:00 committed by The Qt Project
parent 1a1f25781d
commit 8259e45c1e

View File

@ -235,8 +235,10 @@ QString NmakeMakefileGenerator::defaultInstall(const QString &t)
if(targetdir.right(1) != Option::dir_sep)
targetdir += Option::dir_sep;
if(t == "target" && project->first("TEMPLATE") == "lib") {
if(project->isActiveConfig("shared") && project->isActiveConfig("debug")) {
if (project->isActiveConfig("debug")) {
if (t == "dlltarget"
|| (project->first("TEMPLATE") == "lib"
&& project->isActiveConfig("shared"))) {
QString pdb_target = getPdbTarget();
pdb_target.remove('"');
QString src_targ = (project->isEmpty("DESTDIR") ? QString("$(DESTDIR)") : project->first("DESTDIR")) + pdb_target;