mirror of
https://github.com/crystalidea/qt-build-tools.git
synced 2024-11-25 12:11:38 +08:00
VS2022
This commit is contained in:
parent
2e96057883
commit
a8cff9a472
@ -35,7 +35,7 @@ my $batfile = 'compile_win.bat';
|
|||||||
open BAT, '>', $batfile;
|
open BAT, '>', $batfile;
|
||||||
|
|
||||||
printLineToBat ("SET PATH=%PATH%;%cd%\\_tools;%cd%\\_tools\\cmake\\bin"); # add folders to the path for 7z, wget, cmake, etc
|
printLineToBat ("SET PATH=%PATH%;%cd%\\_tools;%cd%\\_tools\\cmake\\bin"); # add folders to the path for 7z, wget, cmake, etc
|
||||||
printLineToBat ("CALL \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch");
|
printLineToBat ("CALL \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" $arch");
|
||||||
printLineToBat ("SET _ROOT=%cd%");
|
printLineToBat ("SET _ROOT=%cd%");
|
||||||
printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html
|
printLineToBat ("SET PATH=%_ROOT%\\qtbase\\bin;%_ROOT%\\gnuwin32\\bin;%PATH%"); # http://doc.qt.io/qt-5/windows-building.html
|
||||||
printLineToBat ("SET OPENSSL_LIBS=-lUser32 -lAdvapi32 -lGdi32 -llibcrypto -llibssl");
|
printLineToBat ("SET OPENSSL_LIBS=-lUser32 -lAdvapi32 -lGdi32 -llibcrypto -llibssl");
|
||||||
|
@ -27,7 +27,7 @@ QMAKE_LFLAGS += "-stdlib=libc++"
|
|||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
On Windows you need [VS2019 Community Edition](https://visualstudio.microsoft.com/downloads/) and [Perl](https://strawberryperl.com/). QtNetwork module is compiled using openssl-3.0.13 which is pre-compiled but once you delete the folder, it will be compiled again.
|
On Windows you need [VS2022 Community Edition](https://visualstudio.microsoft.com/downloads/) and [Perl](https://strawberryperl.com/). QtNetwork module is compiled using openssl-3.0.13 which is pre-compiled but once you delete the folder, it will be compiled again.
|
||||||
|
|
||||||
### Qt 6
|
### Qt 6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user