summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4.inc
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-01-03 13:41:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-04 12:08:31 +0000
commit670706d1d3e3b16636818584fec0441f70b793d9 (patch)
treec732b65f9e5049fb5694cdbe648f08f262f5e911 /meta/recipes-qt/qt4/qt4.inc
parent99a6e1a3a453c17575439723599da6bef62175bb (diff)
downloadpoky-670706d1d3e3b16636818584fec0441f70b793d9.tar.gz
qt4: add version 4.8.0
Version 4.8.0 makes a few minor changes in the internal build system - the following issues had to be worked around: * The -qt-gif configure option has been removed. This is actually the default and has been for some time, so remove it from qt4.inc. * The mkspecs have been refactored requiring us to copy our g++.conf file over the top of g++-unix.conf instead. Some modifications to this file were also necessary to remove some settings that are now in other conf files (and we don't modify those values in any case). * The LD environment variable needs to be unset during configure, or else the configure script overrides our value of QMAKE_LINK which selects ${CXX} as our linker. * QMAKE_CXX contains a reference to OE_QMAKE_CXX which the configure script does not expect and cannot expand and this results in webkit being disabled, so add a workaround for this. (From OE-Core rev: 6b2a5d15ad20573502142b635e6cab9bcfb3b40a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4.inc12
1 files changed, 9 insertions, 3 deletions
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 87a12e6607..ea868ff23c 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -15,7 +15,7 @@ QT_GLFLAGS ?= ""
15 15
16QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \ 16QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
17 -shared -no-nas-sound -no-nis \ 17 -shared -no-nas-sound -no-nis \
18 -qt-gif -system-libjpeg -system-libpng -system-zlib \ 18 -system-libjpeg -system-libpng -system-zlib \
19 -no-pch -qdbus -stl -glib -phonon -webkit \ 19 -no-pch -qdbus -stl -glib -phonon -webkit \
20 -xmlpatterns -no-rpath -qt3support -silent \ 20 -xmlpatterns -no-rpath -qt3support -silent \
21 ${QT_SQL_DRIVER_FLAGS} \ 21 ${QT_SQL_DRIVER_FLAGS} \
@@ -160,7 +160,7 @@ FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf"
160FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" 160FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf"
161FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa" 161FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa"
162FILES_${QT_BASE_NAME}-fonts-pfb = "${libdir}/fonts/*.pfb" 162FILES_${QT_BASE_NAME}-fonts-pfb = "${libdir}/fonts/*.pfb"
163FILES_${QT_BASE_NAME}-fonts-qpf = "${libdir}/fonts/*.qpf" 163FILES_${QT_BASE_NAME}-fonts-qpf = "${libdir}/fonts/*.qpf*"
164FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts/README ${libdir}/fonts/fontdir" 164FILES_${QT_BASE_NAME}-fonts = "${libdir}/fonts/README ${libdir}/fonts/fontdir"
165FILES_${QT_BASE_NAME}-linguist = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts" 165FILES_${QT_BASE_NAME}-linguist = "${bindir}/*linguist* ${bindir}/lrelease ${bindir}/lupdate ${bindir}/lconvert ${bindir}/qm2ts"
166FILES_${QT_BASE_NAME}-linguist-dbg = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts" 166FILES_${QT_BASE_NAME}-linguist-dbg = "${bindir}/.debug/*linguist* ${bindir}/.debug/lrelease ${bindir}/.debug/lupdate ${bindir}/.debug/lconvert ${bindir}/.debug/qm2ts"
@@ -190,7 +190,13 @@ do_configure() {
190 ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++ 190 ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++
191 fi 191 fi
192 192
193 cp -f ${WORKDIR}/g++.conf ${WORKDIR}/linux.conf mkspecs/common/ 193 if [ -f mkspecs/common/g++-unix.conf ] ; then
194 # mkspecs were refactored for 4.8.0
195 cp -f ${WORKDIR}/g++.conf mkspecs/common/g++-unix.conf
196 else
197 cp -f ${WORKDIR}/g++.conf mkspecs/common/g++.conf
198 fi
199 cp -f ${WORKDIR}/linux.conf mkspecs/common/
194 200
195 echo "[Paths]" > $QT_CONF_PATH 201 echo "[Paths]" > $QT_CONF_PATH
196 echo "Prefix=${prefix}/" >> $QT_CONF_PATH 202 echo "Prefix=${prefix}/" >> $QT_CONF_PATH