675cbaf9aa
We need to use the separate package for the chromium submodule which has python3 support patches. We also need to apply a patch to qt5webengine to allow building with python3. Drop a patch which is now upstream. We need to set QT5WEBENGINE_SYNC_QT_HEADERS = YES as we are building from a repository archive instead of a release archive. We need to add some new required dependencies to qt5webengine so that it will build. Switch libraries to system libraries instead of bundled when possible. Migrate unsupported WEBENGINE_CONFIG to new config flag option. Override feature detection using config override flags to ensure we get the expected features enabled/disabled as autodetection logic may otherwise disable features without throwing build errors. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
928 B
Makefile
30 lines
928 B
Makefile
################################################################################
|
|
#
|
|
# qt5
|
|
#
|
|
################################################################################
|
|
|
|
QT5_VERSION_MAJOR = 5.15
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).8
|
|
QT5_SITE = https://invent.kde.org/qt/qt
|
|
|
|
include $(sort $(wildcard package/qt5/*/*.mk))
|
|
|
|
# The file "qt.conf" can be used to override the hard-coded paths that are
|
|
# compiled into the Qt library. We need it to make "qmake" relocatable and
|
|
# tweak the per-package install pathes
|
|
define QT5_INSTALL_QT_CONF
|
|
rm -f $(HOST_DIR)/bin/qt.conf
|
|
sed -e "s|@@HOST_DIR@@|$(HOST_DIR)|" -e "s|@@STAGING_DIR@@|$(STAGING_DIR)|" \
|
|
$(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf
|
|
endef
|
|
|
|
ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
|
|
define QT5_QT_CONF_FIXUP
|
|
$(QT5_INSTALL_QT_CONF)
|
|
endef
|
|
endif
|
|
|
|
# Variable for other Qt applications to use
|
|
QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
|