mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Updated Qt to 5.12.8.
This commit is contained in:
@@ -54,7 +54,7 @@ Go to ***BuildPath*** and run
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 395b620
|
||||
git checkout 10aeaf6
|
||||
cd ../
|
||||
git clone --branch 0.10.0 https://github.com/ericniebler/range-v3
|
||||
|
||||
@@ -235,16 +235,16 @@ Go to ***BuildPath*** and run
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
git clone git://code.qt.io/qt/qt5.git qt_5_12_5
|
||||
cd qt_5_12_5
|
||||
git clone git://code.qt.io/qt/qt5.git qt_5_12_8
|
||||
cd qt_5_12_8
|
||||
perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg
|
||||
git checkout v5.12.5
|
||||
git checkout v5.12.8
|
||||
git submodule update qtbase
|
||||
git submodule update qtwayland
|
||||
git submodule update qtimageformats
|
||||
git submodule update qtsvg
|
||||
cd qtbase
|
||||
git apply ../../patches/qtbase_5_12_5.diff
|
||||
git apply ../../patches/qtbase_5_12_8.diff
|
||||
cd src/plugins/platforminputcontexts
|
||||
git clone https://github.com/desktop-app/fcitx.git
|
||||
git clone https://github.com/desktop-app/hime.git
|
||||
@@ -252,7 +252,7 @@ Go to ***BuildPath*** and run
|
||||
cd ../../../..
|
||||
|
||||
OPENSSL_DIR=/usr/local/desktop-app/openssl-1.1.1
|
||||
./configure -prefix "/usr/local/desktop-app/Qt-5.12.5" \
|
||||
./configure -prefix "/usr/local/desktop-app/Qt-5.12.8" \
|
||||
-release \
|
||||
-force-debug-info \
|
||||
-opensource \
|
||||
|
||||
@@ -32,7 +32,7 @@ Open **x86 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 395b620
|
||||
git checkout 10aeaf6
|
||||
cd ../
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
cd gyp
|
||||
@@ -64,7 +64,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 395b620
|
||||
git checkout 10aeaf6
|
||||
cd ..
|
||||
git clone --branch 0.10.0 https://github.com/ericniebler/range-v3 range-v3
|
||||
|
||||
@@ -148,17 +148,17 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
SET PATH=%PATH_BACKUP_%
|
||||
cd ..
|
||||
|
||||
git clone git://code.qt.io/qt/qt5.git qt_5_12_5
|
||||
cd qt_5_12_5
|
||||
git clone git://code.qt.io/qt/qt5.git qt_5_12_8
|
||||
cd qt_5_12_8
|
||||
perl init-repository --module-subset=qtbase,qtimageformats
|
||||
git checkout v5.12.5
|
||||
git checkout v5.12.8
|
||||
git submodule update qtbase
|
||||
git submodule update qtimageformats
|
||||
cd qtbase
|
||||
git apply ../../patches/qtbase_5_12_5.diff
|
||||
git apply ../../patches/qtbase_5_12_8.diff
|
||||
cd ..
|
||||
|
||||
configure -prefix "%LibrariesPath%\Qt-5.12.5" -debug-and-release -force-debug-info -opensource -confirm-license -static -static-runtime -I "%LibrariesPath%\openssl_1_1_1\include" -no-opengl -openssl-linked OPENSSL_LIBS_DEBUG="%LibrariesPath%\openssl_1_1_1\out32.dbg\libssl.lib %LibrariesPath%\openssl_1_1_1\out32.dbg\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" OPENSSL_LIBS_RELEASE="%LibrariesPath%\openssl_1_1_1\out32\libssl.lib %LibrariesPath%\openssl_1_1_1\out32\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" -mp -nomake examples -nomake tests -platform win32-msvc
|
||||
configure -prefix "%LibrariesPath%\Qt-5.12.8" -debug-and-release -force-debug-info -opensource -confirm-license -static -static-runtime -I "%LibrariesPath%\openssl_1_1_1\include" -no-opengl -openssl-linked OPENSSL_LIBS_DEBUG="%LibrariesPath%\openssl_1_1_1\out32.dbg\libssl.lib %LibrariesPath%\openssl_1_1_1\out32.dbg\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" OPENSSL_LIBS_RELEASE="%LibrariesPath%\openssl_1_1_1\out32\libssl.lib %LibrariesPath%\openssl_1_1_1\out32\libcrypto.lib Ws2_32.lib Gdi32.lib Advapi32.lib Crypt32.lib User32.lib" -mp -nomake examples -nomake tests -platform win32-msvc
|
||||
|
||||
jom -j4
|
||||
jom -j4 install
|
||||
|
||||
@@ -29,7 +29,7 @@ Go to ***BuildPath*** and run
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4f1cffb
|
||||
git checkout 10aeaf6
|
||||
cd ../
|
||||
git clone https://chromium.googlesource.com/external/gyp
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
@@ -47,7 +47,7 @@ Go to ***BuildPath*** and run
|
||||
|
||||
git clone https://github.com/desktop-app/patches.git
|
||||
cd patches
|
||||
git checkout 4f1cffb
|
||||
git checkout 10aeaf6
|
||||
cd ..
|
||||
git clone --branch 0.10.0 https://github.com/ericniebler/range-v3
|
||||
|
||||
@@ -235,18 +235,17 @@ Go to ***BuildPath*** and run
|
||||
ninja -C out/Release
|
||||
cd ..
|
||||
|
||||
git clone git://code.qt.io/qt/qt5.git qt5_12_5
|
||||
cd qt5_12_5
|
||||
git clone git://code.qt.io/qt/qt5.git qt5_12_8
|
||||
cd qt5_12_8
|
||||
perl init-repository --module-subset=qtbase,qtimageformats
|
||||
git checkout v5.12.5
|
||||
git checkout v5.12.8
|
||||
git submodule update qtbase
|
||||
git submodule update qtimageformats
|
||||
cd qtbase
|
||||
git cherry-pick 7ac4e55
|
||||
git apply ../../patches/qtbase_5_12_5.diff
|
||||
git apply ../../patches/qtbase_5_12_8.diff
|
||||
cd ..
|
||||
|
||||
./configure -prefix "/usr/local/desktop-app/Qt-5.12.5" \
|
||||
./configure -prefix "/usr/local/desktop-app/Qt-5.12.8" \
|
||||
-debug-and-release \
|
||||
-force-debug-info \
|
||||
-opensource \
|
||||
|
||||
Reference in New Issue
Block a user