1 DEFAULT_PREFERENCE = "-1"
3 FILESPATHPKG .= ":qt-${PV}"
5 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
6 file://0001-cross-compile.patch \
7 file://0002-fix-resinit-declaration.patch \
8 file://0004-no-qmake.patch \
9 file://0006-freetype-host-includes.patch \
10 file://0008-qt-lib-infix.patch \
11 file://0009-support-2bpp.patch \
12 file://0010-no-simpledecoration-example.patch \
13 file://fix-config-tests.patch \
14 file://qt-config.patch \
19 # Set necessary variables in the profile
20 SRC_URI += "file://qte.sh"
22 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
24 do_configure_prepend() {
25 for pro in $(find ${S} -name "*.pro") ; do
26 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
29 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
38 do_configure_append() {
39 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
43 QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
46 # Fixup missing wsegl header in some SGX SDKs
47 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
48 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
52 oe_runmake ${EXTRA_ENV}
56 install -d ${D}${bindir}
57 for i in rcc uic moc ; do
58 install -m 0755 ${S}/bin/$i ${D}${bindir}/
61 #Append an E to the qtdemo file
62 if [ -n "${QT_LIBINFIX}" ] ; then
63 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
67 LICENSE = "LGPLv2.1 GPLv3"
69 file://hack-out-pg_config.patch"
71 SRC_URI[md5sum] = "eb651ee4b157c01696aa56777fc6e0e5"
72 SRC_URI[sha256sum] = "176f51ddb06dce67ab4b2efc6b327dc21ed8f764c5d97acc15ff1f907c2affae"