1 DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
2 DEPENDS = "zlib-native dbus-native"
4 HOMEPAGE = "http://www.trolltech.com"
6 LICENSE = "LGPLv2.1 GPLv3"
10 DEFAULT_PREFERENCE = "-1"
13 SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
14 file://configure-lflags.patch \
15 file://compile.test-lflags.patch \
16 file://qt-config.patch \
20 S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
23 # FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
24 EXTRA_OECONF = "-prefix ${prefix} \
25 -qt-libjpeg -qt-gif -system-zlib \
26 -no-libjpeg -no-libpng \
32 -verbose -release -fast -static \
34 -I${STAGING_DIR_NATIVE}/usr/include \
35 -I${STAGING_DIR_NATIVE}/usr/include/freetype2 \
36 -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \
37 -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include"
39 # yank default -e, otherwise we get the following error:
40 # moc_qbuffer.cpp: No such file or directory
44 (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
60 tools/linguist/lrelease \
61 tools/linguist/lupdate \
66 for i in ${TOBUILD}; do
67 cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}"
72 install -d ${D}${bindir}
73 install -m 0755 bin/qmake ${D}${bindir}/qmake2
74 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
75 install -m 0755 bin/${i} ${D}${bindir}/${i}4
80 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do \
84 # make a symbolic link to mkspecs for compatibility with Nokia's SDK
86 (cd ${D}${bindir}/..; ln -s ${TARGET_SYS}/usr/share/qtopia/mkspecs mkspecs;)
89 SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
90 SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"