[oe] [oe-commits] Jonathan Liu : qt-creator: add new recipe for version 2.7.2

Andreas Müller schnitzeltony at googlemail.com
Mon Jul 15 09:03:11 UTC 2013


On Mon, Jul 8, 2013 at 10:30 AM,  <git at git.openembedded.org> wrote:
> Module: meta-openembedded.git
> Branch: master
> Commit: 4d2b8ed90614a21d8d7d7c38d013c0c74d9ffffc
> URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=4d2b8ed90614a21d8d7d7c38d013c0c74d9ffffc
>
> Author: Jonathan Liu <net147 at gmail.com>
> Date:   Sat Jul  6 02:46:58 2013 +0000
>
> qt-creator: add new recipe for version 2.7.2
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>
> ---
>
>  meta-oe/recipes-qt/qt-creator/qt-creator_2.7.2.bb |   30 +++++++++++++++++++++
>  1 files changed, 30 insertions(+), 0 deletions(-)
>
> diff --git a/meta-oe/recipes-qt/qt-creator/qt-creator_2.7.2.bb b/meta-oe/recipes-qt/qt-creator/qt-creator_2.7.2.bb
> new file mode 100644
> index 0000000..2948d81
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qt-creator/qt-creator_2.7.2.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "Lightweight, cross-platform integrated development environment"
> +
> +HOMEPAGE = "http://qt-project.org/"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://LGPL_EXCEPTION.TXT;md5=eb6c371255e1262c55ae9b652a90b528 \
> +                    file://LICENSE.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
> +SECTION = "qt/app"
> +
> +SRC_URI = "http://download.qt-project.org/official_releases/qtcreator/2.7/${PV}/${BP}-src.tar.gz"
> +SRC_URI[md5sum] = "7f1c10740784d3edf2347c27be21fd1a"
> +SRC_URI[sha256sum] = "5df913faa43a5fbf44fb1f25faaf6d258134b8f9e6b8ef8a21277136dec9e189"
> +
> +S = "${WORKDIR}/${BP}-src"
> +
> +inherit qt4x11
> +
> +do_install() {
> +       oe_runmake INSTALL_ROOT=${D}${prefix} install
> +       oe_runmake INSTALL_ROOT=${D}${prefix} install_docs
> +       rm -f ${D}${libdir}/qtcreator/lib*.so
> +}
> +
> +FILES_${PN} += "${datadir}/icons \
> +                ${datadir}/qtcreator \
> +                ${libdir}/qtcreator/*"
> +FILES_${PN}-dbg += "${datadir}/qtcreator/*/*/*/*/.debug \
> +                    ${libdir}/qtcreator/.debug \
> +                    ${libdir}/qtcreator/*/*/.debug"
> +RRECOMMENDS_${PN} += "packagegroup-core-buildessential \
> +                      packagegroup-qt-toolchain-target"
>
I get

Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| NOTE: using qmake spec in
/home/andreas/tmp/oe-core-eglibc/sysroots/overo/usr/share/qt4/mkspecs/linux-gnueabi-oe-g++,
using profiles ''
| Project MESSAGE: Cannot build Qt Creator with Qt version .
| Project ERROR: Use at least Qt 4.8.0.
| ERROR: Error calling
/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/qmake2
on qtcreator.pro
| ERROR: Function failed: do_configure (see
/home/andreas/tmp/oe-core-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/qt-creator/2.7.2-r0/temp/log.do_configure.29576
for further information)

Is it possible that iti is caused by checking host's qt version (this is 4.7.4)?

Andreas



More information about the Openembedded-devel mailing list