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