1################################################################################ 2# 3# qt5 4# 5################################################################################ 6 7QT5_VERSION_MAJOR = 5.15 8QT5_VERSION = $(QT5_VERSION_MAJOR).8 9QT5_SITE = https://invent.kde.org/qt/qt 10 11include $(sort $(wildcard package/qt5/*/*.mk)) 12 13# The file "qt.conf" can be used to override the hard-coded paths that are 14# compiled into the Qt library. We need it to make "qmake" relocatable and 15# tweak the per-package install pathes 16define QT5_INSTALL_QT_CONF 17 rm -f $(HOST_DIR)/bin/qt.conf 18 sed -e "s|@@HOST_DIR@@|$(HOST_DIR)|" -e "s|@@STAGING_DIR@@|$(STAGING_DIR)|" \ 19 $(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf 20endef 21 22ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) 23define QT5_QT_CONF_FIXUP 24 $(QT5_INSTALL_QT_CONF) 25endef 26endif 27 28# Variable for other Qt applications to use 29QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++ 30