2015-01-22 13:37:57 +01:00
|
|
|
QT5_VERSION_MAJOR = 5.4
|
2015-03-04 15:01:59 +01:00
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).1
|
2015-01-22 13:37:58 +01:00
|
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
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++
|