summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-05-11 14:33:35 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2015-05-12 12:48:42 +0000
commita99a2316954a30f5891d46685b80f2d41bdf932d (patch)
tree52a2da3329c797cc9e9314d4cfa0cc56c0a0e3eb /INSTALL
parent1209dbbacb91327d538cc455fdfa03c31e4e2e9a (diff)
Document -static-runtime argument for Qt 5.5 onwards
Change-Id: Ic26cabbc42aa7247a6078f5fdf26320340a1c461 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL11
1 files changed, 7 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index 66ff4682f..bef28a32c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -26,13 +26,13 @@ See the Qt documentation for the prerequisites and steps to build Qt from source
### Windows
-Adjust the qmake.conf to have a real stand alone working installer:
-Replace -MD, -MDd with -MT, -MTD in the CFLAGS lines
+For Qt 5.4, you need to adjust the respective qmake.conf to have a real stand alone
+working installer. Replace -MD, -MDd with -MT, -MTD in the CFLAGS lines.
'git diff' should show you something like:
---- a/mkspecs/win32-msvc20XX/qmake.conf
-+++ b/mkspecs/win32-msvc20XX/qmake.conf
+--- a/mkspecs/win32-msvc2013/qmake.conf
++++ b/mkspecs/win32-msvc2013/qmake.conf
QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t -FS
QMAKE_CFLAGS_WARN_ON = -W3
QMAKE_CFLAGS_WARN_OFF = -W0
@@ -46,6 +46,9 @@ Replace -MD, -MDd with -MT, -MTD in the CFLAGS lines
QMAKE_CFLAGS_LTCG = -GL
QMAKE_CFLAGS_MP = -MP
+From Qt 5.5 onwards, you can achieve the same by passing -static-runtime to
+configure.
+
Recommended configuration options for Microsoft Windows:
configure -prefix %CD%\qtbase -release -static -target xp -accessibility -no-opengl -no-icu -no-sql-sqlite -no-qml-debug -nomake examples -nomake tests -skip qtactiveqt -skip qtenginio -skip qtlocation -skip qtmultimedia -skip qtserialport -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtwebkit -skip qtwebsockets -skip qtxmlpatterns