Update instructions for Windows x64 build.

This commit is contained in:
John Preston 2021-01-26 14:54:05 +04:00
parent dd401a063b
commit e9864bcf5b

View file

@ -33,7 +33,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
cd ThirdParty
git clone https://github.com/desktop-app/patches.git
cd patches
git checkout 9fb66f2
git checkout 41ead72
cd ../
git clone https://chromium.googlesource.com/external/gyp
cd gyp
@ -63,7 +63,7 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
git clone https://github.com/desktop-app/patches.git
cd patches
git checkout 9fb66f2
git checkout 41ead72
cd ..
git clone https://github.com/desktop-app/lzma.git
@ -108,9 +108,9 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
cmake --build . --config Release
cd ..
git clone https://github.com/telegramdesktop/openal-soft.git
git clone https://github.com/kcat/openal-soft.git
cd openal-soft
git checkout fix_mono
git checkout openal-soft-1.21.0
cd build
cmake .. ^
-G "Visual Studio 16 2019" ^
@ -161,17 +161,17 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
cd ..
SET LibrariesPath=%cd%
git clone git://code.qt.io/qt/qt5.git qt_5_15_1
cd qt_5_15_1
git clone git://code.qt.io/qt/qt5.git qt_5_15_2
cd qt_5_15_2
perl init-repository --module-subset=qtbase,qtimageformats
git checkout v5.15.1
git checkout v5.15.2
git submodule update qtbase qtimageformats
cd qtbase
for /r %i in (..\..\patches\qtbase_5_15_1\*) do git apply %i
for /r %i in (..\..\patches\qtbase_5_15_2\*) do git apply %i
cd ..
configure ^
-prefix "%LibrariesPath%\Qt-5.15.1" ^
-prefix "%LibrariesPath%\Qt-5.15.2" ^
-debug-and-release ^
-force-debug-info ^
-opensource ^