don't resolve DESTDIR against source dir in RES_FILE construction
that makes no sense at all. and OBJECTS_DIR is not resolved, either. Change-Id: Ie76b9de6bb11ae42945255f2e168943066d2f60d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
ea4a84074e
commit
6bb69b9b0e
@ -518,7 +518,7 @@ void Win32MakefileGenerator::processRcFileVar()
|
||||
if (!project->values("OBJECTS_DIR").isEmpty()) {
|
||||
QString resDestDir;
|
||||
if (project->isActiveConfig("staticlib"))
|
||||
resDestDir = fileInfo(project->first("DESTDIR").toQString()).absoluteFilePath();
|
||||
resDestDir = project->first("DESTDIR").toQString();
|
||||
else
|
||||
resDestDir = project->first("OBJECTS_DIR").toQString();
|
||||
resDestDir.append(Option::dir_sep);
|
||||
|
Loading…
Reference in New Issue
Block a user