qtbase: use dynamic configuration of OpenGL backend

This turns on the fallback behavior introduced in Qt 5.4 and described
in

https://www.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4

This is how Qt builds its official packages.
This commit is contained in:
Alberto Mardegan 2020-04-09 00:22:41 +03:00 committed by mabrand
parent 159208832f
commit eb26bce6dd
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $(PKG)_CHECKSUM := 33960404d579675b7210de103ed06a72613bfc4305443e278e2d32a3eb1f3
$(PKG)_SUBDIR := $(PKG)-everywhere-src-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-everywhere-src-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := https://download.qt.io/official_releases/qt/5.15/$($(PKG)_VERSION)/submodules/$($(PKG)_FILE)
$(PKG)_DEPS := cc dbus fontconfig freetds freetype harfbuzz jpeg libmysqlclient libpng openssl pcre2 postgresql sqlite zlib zstd $(BUILD)~zstd
$(PKG)_DEPS := cc dbus fontconfig freetds freetype harfbuzz jpeg libmysqlclient libpng mesa openssl pcre2 postgresql sqlite zlib zstd $(BUILD)~zstd
$(PKG)_DEPS_$(BUILD) :=
$(PKG)_TARGETS := $(BUILD) $(MXE_TARGETS)
@ -44,7 +44,7 @@ define $(PKG)_BUILD
$(if $(BUILD_STATIC), -static,)$(if $(BUILD_SHARED), -shared,) \
-prefix '$(PREFIX)/$(TARGET)/qt5' \
-no-icu \
-opengl desktop \
-opengl dynamic \
-no-glib \
-accessibility \
-nomake examples \