Windows: Support .pdb file names with spaces.
Task-number: QTBUG-3314 Change-Id: I50a8739f134644e3561f1f7e2e04dac469da38b6 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
ace3b97d4c
commit
ce5a877a8b
@ -416,8 +416,9 @@ void NmakeMakefileGenerator::init()
|
||||
}
|
||||
if (project->isActiveConfig("debug_info")) {
|
||||
QString pdbfile = project->first("DESTDIR") + project->first("TARGET") + version + ".pdb";
|
||||
project->values("QMAKE_CFLAGS").append("/Fd" + pdbfile);
|
||||
project->values("QMAKE_CXXFLAGS").append("/Fd" + pdbfile);
|
||||
QString escapedPdbFile = escapeFilePath(pdbfile);
|
||||
project->values("QMAKE_CFLAGS").append("/Fd" + escapedPdbFile);
|
||||
project->values("QMAKE_CXXFLAGS").append("/Fd" + escapedPdbFile);
|
||||
project->values("QMAKE_DISTCLEAN").append(pdbfile);
|
||||
}
|
||||
if (project->isActiveConfig("debug")) {
|
||||
|
Loading…
Reference in New Issue
Block a user