60 lines
886 B
Markdown
60 lines
886 B
Markdown
# compile qt 5.15.17 for xp 2026 tutorial
|
|
|
|
git clone this
|
|
|
|
### run:
|
|
|
|
configure -opensource -confirm-license -platform win32-g++ -nomake tests -nomake examples
|
|
|
|
### then run:
|
|
|
|
patch -p1 < qt5base-winxp-v5.patch
|
|
|
|
patch -p1 < qtspeech-winxp.patch
|
|
|
|
patch -p1 < qtwinextras-winxp.patch
|
|
|
|
patch -p1 < rtti-option.patch
|
|
|
|
### msvc build (ew):
|
|
|
|
patch -p1 < static-link.patch
|
|
|
|
patch -p1 < subsystem-version.patch
|
|
|
|
### after that, run
|
|
|
|
mingw32-make -j4
|
|
|
|
-j4
|
|
|
|
is the number of threads btw so change it if u got more than 4, my poor i5 650 does not.
|
|
|
|
### or, if msvc (ew)
|
|
|
|
nmake -j4
|
|
|
|
|
|
### after that,
|
|
|
|
mingw32-make install
|
|
|
|
#### or
|
|
|
|
nmake install
|
|
|
|
# and ur done wooho
|
|
|
|
### dependencies:
|
|
|
|
##### if mingw:
|
|
|
|
mingw32
|
|
|
|
cmake 3.22 x86
|
|
|
|
##### if msvc:
|
|
|
|
vs2017 with xp toolchain v141
|
|
|
|
win 8.1 sdk or win10 idfk i dont compile with msvc because of msvc being shit and doing stuff like c0000005 (my ram is bad) |