qmake: fix generated rc file for embedding manifests
The rc file is in the same directory as the manifest file. Therefore the include must consist of the filename and must not include the file's path. Change-Id: I4f5ac11b131f39ea8c425aca93fcf82d150c0204 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>bb10
parent
3591c6ceda
commit
0330798037
|
|
@ -395,8 +395,8 @@ void NmakeMakefileGenerator::writeBuildRulesPart(QTextStream &t)
|
|||
QString manifest_bak = escapeFilePath(target + "_manifest.bak");
|
||||
project->values("QMAKE_CLEAN") << manifest_rc << manifest_res;
|
||||
|
||||
t << "\n\t" << "@if not exist " << manifest_rc << " echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ " << manifest
|
||||
<< ">" << manifest_rc;
|
||||
t << "\n\t" << "@if not exist " << manifest_rc << " echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "
|
||||
<< QFileInfo(unescapeFilePath(manifest)).fileName() << ">" << manifest_rc;
|
||||
|
||||
if (generateManifest) {
|
||||
t << "\n\tif not exist $(DESTDIR_TARGET) del " << manifest << ">NUL 2>&1";
|
||||
|
|
|
|||
Loading…
Reference in New Issue