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"
8 DEFAULT_PREFERENCE
= "-1"
11 SRC_URI
= "ftp://ftp.trolltech.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
12 file://configure-lflags.patch \
13 file://qt-config.patch \
17 S
= "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
20 # FIXME
: make it work with
"${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
21 EXTRA_OECONF
= "-prefix ${prefix} \
22 -qt-libjpeg -qt-gif -system-zlib \
23 -no-libjpeg -no-libpng \
29 -verbose -release -fast -static \
31 -I${STAGING_DIR_NATIVE}/usr/include \
32 -I${STAGING_DIR_NATIVE}/usr/include/dbus-1.0 \
33 -I${STAGING_DIR_NATIVE}/usr/lib/dbus-1.0/include"
35 # yank
default -e
, otherwise we get the following error
:
36 # moc_qbuffer.cpp
: No such file
or directory
40 (echo o
; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
56 tools/linguist/lrelease \
57 tools/linguist/lupdate \
62 for i in $
{TOBUILD
}; do
63 cd $
{S
}/$i
&& oe_runmake CC
="${CC}" CXX
="${CXX}"
68 install
-d $
{D
}$
{bindir
}
69 install
-m
0755 bin/qmake $
{D
}$
{bindir
}/qmake2
70 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp
; do
71 install
-m
0755 bin/$
{i
} $
{D
}$
{bindir
}/$
{i
}4
76 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp
; do \
81 SRC_URI
[md5sum
] = "5c69f16d452b0bb3d44bc3c10556c072"
82 SRC_URI
[sha256sum
] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"