install pdb files also for executables

the restriction to dlls is entirely unjustified.

Change-Id: Ia518dd16189572dea9e8f4280c88801b1393694e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2013-11-18 20:44:54 +01:00 committed by The Qt Project
parent 272fcac4d7
commit ae5977d8e8

View File

@ -237,8 +237,8 @@ QString NmakeMakefileGenerator::defaultInstall(const QString &t)
if (project->isActiveConfig("debug")) { if (project->isActiveConfig("debug")) {
if (t == "dlltarget" if (t == "dlltarget"
|| (project->first("TEMPLATE") == "lib" || project->first("TEMPLATE") != "lib"
&& project->isActiveConfig("shared") || (project->isActiveConfig("shared")
&& project->values(ProKey(t + ".CONFIG")).indexOf("no_dll") == -1)) { && project->values(ProKey(t + ".CONFIG")).indexOf("no_dll") == -1)) {
QString pdb_target = getPdbTarget(); QString pdb_target = getPdbTarget();
pdb_target.remove('"'); pdb_target.remove('"');