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