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
|
qt5: bump latest version to 5.9.2
qt5base:
- removed 0001-Fix-error-attribute-target-crc-is-unknown.patch
(upstream committed, see [1])
- removed 0002-examples-fix-compile-without-opengl-support.patch
(upstream committed, see [2])
qt5declarative:
- removed 0001-Fix-alignment-issue-on-ARMv7.patch
(upstream committed, see [3])
- moved 0001-examples-photoviewer-needs-widgets-support.patch to 5.6.2
only (upstream 5.9.2 committed, see [4])
- moved 0002-examples-qquickviewcomparison-and-quickwidget-needs-.patch
to 5.6.2 only (similare patch upstream committed, see [5])
qt5location:
- removed 0001-Fix-plugins-build-dependency.patch
(upstream committed, see [6])
qt5webchannel:
- fix webchannel.js installation to target (the locatinon of the
file webchannel.js changed from src/webchannel/qwebchannel.js
to examples/webchannel/shared/qwebchannel.js, see commit [7])
qt5webengine:
- removed 0001-Always-compile-QWebEnginePage-print.patch
(upstream committed, see [8])
- keep 0002-Load-libEGL-and-libGLES2-symbols-implicitly.patch
(upstream committed, see [9], but reverted afterwards, see [10])
qt5webkit:
- fall back to 5.9.1 (no 5.9.2 package provided, see [11] and [12]).
[1] http://code.qt.io/cgit/qt/qtbase.git/commit/?id=b7722c251c3a0938c7c71fc3da47fdbe920060b7
[2] http://code.qt.io/cgit/qt/qtbase.git/commit/?id=6ce4b680cdde7827a6ed4d00dbeb7e7e91569433
[3] http://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=03c2661b1243cc529fc3d8cfa65073f1da420307
[4] http://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=452a78d0ac4a1579733a8ab641be24c9b7c0dd96
[5] http://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=fa52bb665d6beb77a951c14c8edcba3541850afc
[6] http://code.qt.io/cgit/qt/qtlocation.git/commit/?id=3ac051c4549575634cecc706175b019f4ed4c3bf
[7] https://code.qt.io/cgit/qt/qtwebchannel.git/commit/?id=e7f150abaa8e81d3e404e9631a49341a7f7623d1
[8] http://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=085c2c529473bbe9dd7c8c5698a45053520cc423
[9] http://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=d4c621f6a6b87f2a86069fa393b9f7c4f9e7b9ad
[10] http://code.qt.io/cgit/qt/qtwebengine.git/commit/?id=c11c2c8981e647c1eb2c6753ce77d436b92fff87
[11] https://blog.qt.io/blog/2017/10/06/qt-5-9-2-released/#comment-1200724
[12] https://blog.qt.io/blog/2017/10/06/qt-5-9-2-released/#comment-1200746
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Tested-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-10-17 22:28:03 +02:00
|
|
|
QT5_VERSION = $(QT5_VERSION_MAJOR).2
|
2017-01-31 08:59:03 +01:00
|
|
|
QT5_SITE = http://download.qt.io/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules
|
|
|
|
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
|
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
|
2017-07-05 13:14:19 +02:00
|
|
|
QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++
|