10a0ac759e
To enable windows xp support, we must do two things: 1. linker flag must be /SUBSYSTEM:CONSOLE,5.01 or /SUBSYSTEM:WINDOWS,5.01. For x64, the version is 5.02. 2. Do not use Windows Kit 8. Win SDK v7.1A is recommended. Prepend the right include paths and lib paths to INCLUDE and LIB before building. The Windows XP target support is enabled by passing "-target xp" to configure. Task-number: QTBUG-29939 Change-Id: I84c8439606cc2a9d27d64947702846faa4f1e4a2 Reviewed-by: Lucas Wang <wbsecg1@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
11 lines
258 B
Plaintext
11 lines
258 B
Plaintext
load(qt_config)
|
|
|
|
equals(QMAKE_TARGET_OS, xp) {
|
|
# http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx?PageIndex=3
|
|
equals(QT_ARCH, x86_64) {
|
|
QMAKE_SUBSYSTEM_SUFFIX = ,5.02
|
|
} else {
|
|
QMAKE_SUBSYSTEM_SUFFIX = ,5.01
|
|
}
|
|
}
|