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-01-31 08:59:03 +01:00
|
|
|
QT5_VERSION_MAJOR = 5.8
|
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).0
|
|
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
|
|
|
QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
|
|
|
|
else
|
2016-03-17 10:42:28 +01:00
|
|
|
QT5_VERSION_MAJOR = 5.6
|
2016-10-15 19:28:17 +02:00
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).2
|
2015-01-22 13:37:58 +01:00
|
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
2016-11-09 14:59:54 +01:00
|
|
|
QT5_SNAPSHOTS_SITE = http://download.qt.io/snapshots/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/latest_src/submodules
|
2017-01-31 08:59:03 +01:00
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
QT5_QMAKE = $(HOST_DIR)/usr/bin/qmake -spec devices/linux-buildroot-g++
|