Skip to content

Commit 774f796

Browse files
committed
Build Qt with desktop OpenGL
1 parent ea0c890 commit 774f796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/build_qt6.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ git checkout $(git tag | grep '^v6\.8\.[0-9]*$' | sort -V | tail -n 1) || exit
4242
mkdir cross-build
4343
cd cross-build
4444
echo "Cross-compiling Qt..."
45-
../configure -release -opengl es2 -nomake examples -nomake tests -qt-host-path "$host_prefix" -xplatform "$BUILD_PLATFORM" \
45+
../configure -release -opengl desktop -nomake examples -nomake tests -qt-host-path "$host_prefix" -xplatform "$BUILD_PLATFORM" \
4646
-device-option CROSS_COMPILE="$BUILD_TOOLCHAIN_PREFIX" -sysroot "$BUILD_SYSROOT_PATH" -opensource -confirm-license \
4747
-prefix "$target_prefix" -extprefix "$cross_prefix" -- -DCMAKE_TOOLCHAIN_FILE="$BUILD_TOOLCHAIN_CONFIG" \
4848
-DQT_FEATURE_xcb=ON -DFEATURE_xcb_xlib=ON -DQT_FEATURE_xlib=ON || exit 1

0 commit comments

Comments
 (0)