Update Qt5 build instructions to use Allotropia's pre-patched repo

Change-Id: I4b739e36a008940705b32a2c83757520e2ae1add
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144196
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
Tor Lillqvist
2022-12-14 21:38:08 +02:00
parent c6a8af20c8
commit 52c3744d06

View File

@@ -43,19 +43,14 @@ generally the Qt6 WASM documentation is much better, because it incorporated man
information from the Qt Wiki. information from the Qt Wiki.
FWIW: Qt 5.15 LTS is not maintained publicly and Qt WASM has quite a few bugs. Most FWIW: Qt 5.15 LTS is not maintained publicly and Qt WASM has quite a few bugs. Most
WASM fixes from Qt 6 are needed for Qt 5.15 too. They can mainly be cherry-picked from: WASM fixes from Qt 6 are needed for Qt 5.15 too. Allotropia offers a Qt repository
- git log origin/dev src/plugins/platforms/wasm/ with the necessary patches cherry-picked.
- git log --grep wasm origin/dev
We will probably offer our own Qt repository clone at some point. git clone https://github.com/allotropia/qt5.git
But even the public Qt 5.15 branch is still broken, so better start with the v5.15.2 tag.
git clone https://github.com/qt/qt5.git
cd qt5 cd qt5
git checkout v5.15.2 git checkout v5.15.2+wasm
./init-repository --module-subset=qtbase ./init-repository --module-subset=qtbase
./configure -xplatform wasm-emscripten -feature-thread -prefix $PWD/install-5.15.2 ./configure -xplatform wasm-emscripten -feature-thread -prefix <whatever>
make -j<CORES> module-qtbase make -j<CORES> module-qtbase
Optionally you can add the configure flag "-compile-examples". But then you also have to Optionally you can add the configure flag "-compile-examples". But then you also have to