1 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST
),y
)
2 QT5_VERSION_MAJOR
= 5.8
3 QT5_VERSION
= $(QT5_VERSION_MAJOR
).0
4 QT5_SITE
= http
://download.qt.io
/official_releases
/qt
/$(QT5_VERSION_MAJOR
)/$(QT5_VERSION
)/submodules
5 QT5_SNAPSHOTS_SITE
= http
://download.qt.io
/snapshots
/qt
/$(QT5_VERSION_MAJOR
)/$(QT5_VERSION
)/latest_src
/submodules
7 QT5_VERSION_MAJOR
= 5.6
8 QT5_VERSION
= $(QT5_VERSION_MAJOR
).2
9 QT5_SITE
= http
://download.qt.io
/official_releases
/qt
/$(QT5_VERSION_MAJOR
)/$(QT5_VERSION
)/submodules
10 QT5_SNAPSHOTS_SITE
= http
://download.qt.io
/snapshots
/qt
/$(QT5_VERSION_MAJOR
)/$(QT5_VERSION
)/latest_src
/submodules
13 include $(sort $(wildcard package
/qt5
/*/*.mk
))
15 define QT5_LA_PRL_FILES_FIXUP
16 for i in
$$(find
$(STAGING_DIR
)/usr
/lib
* -name
"libQt5*.la"); do \
17 $(SED
) "s:$(BASE_DIR):@BASE_DIR@:g" \
18 -e
"s:$(STAGING_DIR):@STAGING_DIR@:g" \
19 -e
"s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \
20 -e
"s:@STAGING_DIR@:$(STAGING_DIR):g" \
21 -e
"s:@BASE_DIR@:$(BASE_DIR):g" \
23 $(SED
) "/^dependency_libs=/s%-L/usr/lib %%g" $$i ; \
25 for i in
$$(find
$(STAGING_DIR
)/usr
/lib
* -name
"libQt5*.prl"); do \
26 $(SED
) "s%-L/usr/lib%%" $$i; \
30 # Variable for other Qt applications to use
31 QT5_QMAKE
= $(HOST_DIR
)/usr
/bin
/qmake
-spec devices
/linux-buildroot-g
++