Build and link with QtSvg.

This commit is contained in:
John Preston 2021-08-11 19:55:47 +03:00
parent c79cd0b692
commit e8fc874456
4 changed files with 10 additions and 8 deletions

2
cmake

@ -1 +1 @@
Subproject commit b02fc90612b3a22525e47ad4c404a7e432b6803f
Subproject commit fb595431a95f4848966fb2d0854744d11f593b62

View File

@ -274,9 +274,9 @@ Go to ***BuildPath*** and run
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
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v5.15.2
git submodule update qtbase qtimageformats
git submodule update qtbase qtimageformats qtsvg
cd qtbase
find ../../patches/qtbase_5_15_2 -type f -print0 | sort -z | xargs -0 git apply
cd ..

View File

@ -197,14 +197,16 @@ Open **x64 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
SET LibrariesPath=%cd%
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
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v5.15.2
git submodule update qtbase qtimageformats
git submodule update qtbase qtimageformats qtsvg
cd qtbase
for /r %i in (..\..\patches\qtbase_5_15_2\*) do git apply %i
cd ..
mkdir build
cd build
configure ^
..\configure ^
-prefix "%LibrariesPath%\Qt-5.15.2" ^
-debug-and-release ^
-force-debug-info ^

View File

@ -200,9 +200,9 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
SET LibrariesPath=%cd%
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
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg
git checkout v5.15.2
git submodule update qtbase qtimageformats
git submodule update qtbase qtimageformats qtsvg
cd qtbase
for /r %i in (..\..\patches\qtbase_5_15_2\*) do git apply %i
cd ..