2017-04-21 17:24:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# qt5
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-02-11 12:05:29 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
|
2017-07-13 18:18:43 +02:00
|
|
|
QT5_VERSION_MAJOR = 5.9
|
2017-11-28 23:37:44 +01:00
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).3
|
2017-01-31 08:59:03 +01:00
|
|
|
else
|
2016-03-17 10:42:28 +01:00
|
|
|
QT5_VERSION_MAJOR = 5.6
|
2017-10-20 20:41:10 +02:00
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).3
|
2017-01-31 08:59:03 +01:00
|
|
|
endif
|
2017-11-28 12:59:30 +01:00
|
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
2017-01-31 08:59:03 +01:00
|
|
|
|
2013-09-03 10:45:41 +02:00
|
|
|
include $(sort $(wildcard package/qt5/*/*.mk))
|
2013-03-07 11:18:37 +01:00
|
|
|
|
|
|
|
define QT5_LA_PRL_FILES_FIXUP
|
|
|
|
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.la"); do \
|
2014-06-21 17:01:48 +02:00
|
|
|
$(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \
|
2014-07-03 21:58:43 +02:00
|
|
|
-e "s:$(STAGING_DIR):@STAGING_DIR@:g" \
|
2014-06-21 17:01:48 +02:00
|
|
|
-e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
|
|
|
|
-e "s:@STAGING_DIR@:$(STAGING_DIR):g" \
|
|
|
|
-e "s:@BASE_DIR@:$(BASE_DIR):g" \
|
|
|
|
$$i ; \
|
2013-03-07 11:18:37 +01:00
|
|
|
$(SED) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
|
|
|
|
done
|
|
|
|
for i in $$(find $(STAGING_DIR)/usr/lib* -name "libQt5*.prl"); do \
|
|
|
|
$(SED) "s%-L/usr/lib%%" $$i; \
|
|
|
|
done
|
|
|
|
endef
|
2014-11-01 23:15:09 +01:00
|
|
|
|
|
|
|
# Variable for other Qt applications to use
|
2017-07-05 13:14:19 +02:00
|
|
|
QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
|