comparison qt-cross-build.txt @ 308:abebda3ec9cd

Adjust.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 May 2023 11:42:11 +0300
parents 093f92344443
children
comparison
equal deleted inserted replaced
307:093f92344443 308:abebda3ec9cd
10 git checkout v6.4.3 10 git checkout v6.4.3
11 11
12 # Initialize subrepos, we need just qtbase 12 # Initialize subrepos, we need just qtbase
13 ./init-repository -f --module-subset=qtbase 13 ./init-repository -f --module-subset=qtbase
14 14
15 # Create build directory 15 # Create build directory and configure
16 cd .. && mkdir qt6-build && cd qt6-build 16 mkdir ../qt6-build && cd ../qt6-build && \
17
18 cmake -GNinja -DCMAKE_BUILD_TYPE=Release \ 17 cmake -GNinja -DCMAKE_BUILD_TYPE=Release \
19 -DQT_FEATURE_vulkan=OFF \ 18 -DQT_FEATURE_vulkan=OFF \
20 -DQT_NO_PACKAGE_VERSION_CHECK=TRUE \ 19 -DQT_NO_PACKAGE_VERSION_CHECK=TRUE \
21 -DCMAKE_TOOLCHAIN_FILE=/path/to/debian-i686-w64-mingw32.cmake \ 20 -DCMAKE_TOOLCHAIN_FILE=/path/to/debian-i686-w64-mingw32.cmake \
22 ../qt6-src/ 21 ../qt6-src/