Mercurial > hg > syntilista
changeset 289:00a6cbdd3281
Rename.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 09 May 2023 11:44:58 +0300 |
parents | 6fd31a4308f5 |
children | 755fe3f8c08f |
files | qt-cross-build.txt qt5-cross-build.txt |
diffstat | 2 files changed, 25 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qt-cross-build.txt Tue May 09 11:44:58 2023 +0300 @@ -0,0 +1,25 @@ +# In Debian 9+ +apt-get install mingw-w64 + + +# Clone Qt5 base git repo: +git clone https://code.qt.io/qt/qt5.git qt5-src +cd qt5-src/ + +# Checkout desired version +git checkout 5.12 + +# Initialize subrepos, we need just qtbase +./init-repository -f --module-subset=qtbase +git checkout v5.12.6 +git submodule update + +# Configure for cross-compilation +./configure -release -opensource -nomake examples -nomake tests -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32- -opengl desktop + +# Qt5 requires this Windows 10 -specific header file +wget https://raw.githubusercontent.com/tpn/winsdk-10/master/Include/10.0.10240.0/um/UIViewSettingsInterop.h + -O /usr/i686-w64-mingw32/include/ + +# Build it +make -j8
--- a/qt5-cross-build.txt Tue May 09 11:40:49 2023 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# In Debian 9+ -apt-get install mingw-w64 - - -# Clone Qt5 base git repo: -git clone https://code.qt.io/qt/qt5.git qt5-src -cd qt5-src/ - -# Checkout desired version -git checkout 5.12 - -# Initialize subrepos, we need just qtbase -./init-repository -f --module-subset=qtbase -git checkout v5.12.6 -git submodule update - -# Configure for cross-compilation -./configure -release -opensource -nomake examples -nomake tests -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32- -opengl desktop - -# Qt5 requires this Windows 10 -specific header file -wget https://raw.githubusercontent.com/tpn/winsdk-10/master/Include/10.0.10240.0/um/UIViewSettingsInterop.h - -O /usr/i686-w64-mingw32/include/ - -# Build it -make -j8