diff --git a/README.md b/README.md index 8f89f1b..bd6ae7c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,60 @@ -# qt-5.15.17-xp +# compile qt 5.15.17 for xp 2026 tutorial -archiving this for several projects \ No newline at end of file +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) \ No newline at end of file