md5=0542a4be6425451ab5f668c6899cac36
sha256=4c84b39b8a2546854ce9c0c9f761dd55da76dab2c33eeb876e3d17db1d2ea0c5
+[ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-4.6.2.tar.gz]
+md5=eb651ee4b157c01696aa56777fc6e0e5
+sha256=176f51ddb06dce67ab4b2efc6b327dc21ed8f764c5d97acc15ff1f907c2affae
+
[ftp://ftp.trolltech.com/qt/source/qt-x11-free-3.3.5.tar.bz2]
md5=05d04688c0c0230ed54e89102d689ca4
sha256=aac89e862c74b2f3ead768e50e9fa7ada1e4225fe9d1d9e05723a3279259eb96
qtconfig = qmake_libraryInfoFile();
+ if (!QFile::exists(qtconfig)) {
+ QByteArray config = getenv("QT_CONF_PATH");
-+ qtconfig = config;
++ qtconfig = QFile::decodeName(config);
+ }
#else
if (!QFile::exists(qtconfig) && QCoreApplication::instance()) {
S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
do_configure_prepend() {
+ for pro in $(find ${S} -name "*.pro") ; do
+ sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
+ done
+
sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
sed -i \
-e /QMAKE_MOC\ /d \
${S}/configure
}
+do_configure_append() {
+ sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
+}
+
QT_GLFLAGS ?= ""
-QT_CONFIG_FLAGS += "${QT_GLFLAGS}"
+QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
do_compile() {
unset CFLAGS CXXFLAGS
PROVIDES += "qt4-embedded"
QT_GLFLAGS = "-opengl es2 -openvg"
-require qt-4.6.1.inc
+require qt-4.6.0.inc
FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded"
PROVIDES += "qt4-embedded"
QT_GLFLAGS = "-opengl es2 -openvg"
-require qt-4.6.0.inc
+require qt-${PV}.inc
FILESPATHPKG .= ":qt4-embedded-${PV}:qt4-embedded"
PR = "${INC_PR}.0"
-require qt-4.6.1.inc
+require qt-4.6.0.inc
PR = "${INC_PR}.0"
-require qt-4.6.1.inc
+require qt-${PV}.inc
S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
+EXTRA_OECONF = "-prefix ${prefix} \
+ -qt-libjpeg -qt-gif -system-zlib \
+ -no-libjpeg -no-libpng \
+ -no-accessibility \
+ -no-cups \
+ -no-exceptions \
+ -no-nas-sound \
+ -no-nis \
+ -verbose -release -no-fast -static \
+ -qt3support -silent -no-rpath"
+
TOBUILD := "src/tools/bootstrap ${TOBUILD}"
QT_GLFLAGS = "-opengl es2 -openvg"
-require qt-4.6.1.inc
+require qt-4.6.0.inc
QT_CONFIG_FLAGS += " \
-no-embedded \
QT_GLFLAGS = "-opengl es2 -openvg"
-require qt-4.6.0.inc
+require qt-${PV}.inc
QT_CONFIG_FLAGS += " \
-no-embedded \
require qt4-x11-free.inc
PR = "${INC_PR}.1"
-require qt-4.6.1.inc
+require qt-4.6.0.inc
QT_CONFIG_FLAGS += " \
-no-embedded \
require qt4-x11-free.inc
PR = "${INC_PR}.1"
-require qt-4.6.0.inc
+require qt-${PV}.inc
QT_CONFIG_FLAGS += " \
-no-embedded \
RRECOMMENDS_${PN}-dev = "${DEV_PACKAGES}"
RRECOMMENDS_${PN}-dbg = "${DBG_PACKAGES}"
-FILES_${QT_BASE_NAME}-tools = "${bindir}/uic* ${bindir}/moc ${bindir}/rcc ${bindir}/qttracereplay"
+FILES_${QT_BASE_NAME}-tools = "${bindir}/uic* ${bindir}/moc ${bindir}/rcc ${bindir}/qttracereplay ${bindir}/qdoc*"
FILES_${QT_BASE_NAME}-assistant = "${bindir}/*assistant* ${bindir}/qcollectiongenerator ${bindir}/qhelpconverter ${bindir}/qhelpgenerator"
FILES_${QT_BASE_NAME}-assistant-dbg = "${bindir}/.debug/*assistant* ${bindir}/.debug/qcollectiongenerator ${bindir}/.debug/qhelpconverter ${bindir}/.debug/qhelpgenerator"
FILES_${QT_BASE_NAME}-common = "${bindir}/qtconfig"
-demosdir ${bindir}/${QT_DIR_NAME}/demos \
-platform ${TARGET_OS}-oe-g++ \
-xplatform ${TARGET_OS}-oe-g++ \
- -embedded ${QT_ARCH} ${QT_ENDIAN} -fast \
+ -embedded ${QT_ARCH} ${QT_ENDIAN} \
-crossarch ${QT_ARCH} \
- ${QT_CONFIG_FLAGS} -fast \
+ ${QT_CONFIG_FLAGS} -no-fast \
-L${STAGING_LIBDIR} -I${STAGING_INCDIR} \
-I${STAGING_INCDIR}/freetype2 \
-I${STAGING_INCDIR}/mysql \