summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-03-06 15:09:59 +0100
committerKai Koehne <kai.koehne@theqtcompany.com>2015-03-11 11:09:27 +0000
commit4aacfb8e11f5862797757d14f34964a05e2d9b1f (patch)
treee0be259c7fbd24423da3ae71630225691e40f2b5 /doc
parent4b2727c742ff37af82c131e4e4d94045d40ac55a (diff)
Fix embedding of installbase manifest
Redefining QMAKE_MANIFEST is currently broken in Qt for newer compilers: The content is not embedded at all if the toolchain supports "embedding". But the hack is not needed anyway: Just disable the Qt manifest magic, and include our custom manifest file via .rc. This way we can also avoid changing the mkspec for embed_manifest_exe, embed_manifest_dll. Change-Id: I5155ddabe17f0b61b2d7b9c5b9cd912ad6c53dfe Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/installerfw-getting-started.qdoc13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/installerfw-getting-started.qdoc b/doc/installerfw-getting-started.qdoc
index 29e0dbac8..ba1ec08a2 100644
--- a/doc/installerfw-getting-started.qdoc
+++ b/doc/installerfw-getting-started.qdoc
@@ -68,16 +68,13 @@
runtime library. This can be done by changing the default mkspec of
your compiler.
- If you are using e.g. the Microsoft Visual Studio 2010 compiler, you edit
- \c{mkspecs\win32-msvc2010\qmake.conf} and replace in the CFLAGS sections
- '-MD' with '-MT'. Furthermore you should remove 'embed_manifest_dll'
- and 'embed_manifest_exe' from CONFIG:
+ If you are using e.g. the Microsoft Visual Studio 2013 compiler, you edit
+ \c{mkspecs\win32-msvc2013\qmake.conf} and replace in the CFLAGS sections
+ '-MD' with '-MT':
\code
- CONFIG += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source copy_dir_files debug_and_release debug_and_release_target
- # ..
- QMAKE_CFLAGS_RELEASE = -O2 -MT
- QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi
+ QMAKE_CFLAGS_RELEASE = -O2 -MT -Zc:strictStrings
+ QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi -Zc:strictStrings
QMAKE_CFLAGS_DEBUG = -Zi -MTd
\endcode