From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: Simon Bolek <simon.bolek@googlemail.com>
Cc: yocto@yoctoproject.org, peterengcomau001@adam.com.au
Subject: Re: meta-qt5 problem in yocto 1.7
Date: Sun, 01 Feb 2015 20:31:35 +0100 [thread overview]
Message-ID: <54CE7F17.4030102@dynamicdevices.co.uk> (raw)
In-Reply-To: <CAEfap_BF2O2q=y5ZxOpZir3zZPY0yky2Guruy-fKARBpPTgq4w@mail.gmail.com>
On 01/02/2015 18:55, Simon Bolek wrote:
> Thanks!
> As for the examples. I cannot help directly, but i would read
> log.do_configure etc. files for details. You might find the reason
> there. Although I have to say, that my knowledge in yocto is at the
> beginners stadium at the moment ;-)
>
> cheers
> simon :-)
I think I've worked out what is happening here. The examples are being
built but not installed to the image folder in the do_install step and
thus there's nothing to package and the qtbase-examples package is ignored
I've committed a change to do_install_append() in a dizzy branch on a DD
fork of meta-qt5 which I think copies the files across correctly
@see:
https://github.com/DynamicDevices/meta-qt5/commit/21b9aef8c3246e9e0b7ec3026bd58d4c595fd5a9
@@ -216,8 +216,13 @@ do_install_append() {
# ERROR: objcopy failed with exit code 1 (cmd was
'arm-oe-linux-gnueabi-objcopy' --only-keep-debug
'/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/qmake'
'/OE/oe-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/qtbase/5.0.1-r0.0/package/usr/bin/.debug/qmake')
rm -f ${D}/${bindir}/${QT_DIR_NAME}/qmake
# install fonts manually if they are missing
- if [ ! -d ${D}/${OE_QMAKE_PATH_LIBS}/fonts ]; then
- cp -a ${S}/lib/fonts ${D}/${OE_QMAKE_PATH_LIBS}
+ if [ ! -d ${D}${OE_QMAKE_PATH_LIBS}/fonts ]; then
+ cp -a ${S}/lib/fonts ${D}${OE_QMAKE_PATH_LIBS}
+ fi
+ # install examples manually if they are missing
+ if [ ! -d ${D}${OE_QMAKE_PATH_EXAMPLES} ]; then
+ mkdir -p ${D}${OE_QMAKE_PATH_EXAMPLES}
+ cp -a ${S}/examples/* ${D}${OE_QMAKE_PATH_EXAMPLES}
fi
# Remove example.pro file as it is useless
Cheers,
Alex
next prev parent reply other threads:[~2015-02-01 19:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-28 18:31 meta-qt5 problem in yocto 1.7 Simon Bolek
2015-01-28 19:54 ` Martin Jansa
2015-01-31 12:30 ` peterengcomau001
2015-01-31 16:25 ` Alex J Lennon
2015-01-31 18:10 ` peterengcomau001
2015-02-01 13:52 ` Alex J Lennon
2015-02-01 17:10 ` Alex J Lennon
2015-02-01 17:55 ` Simon Bolek
2015-02-01 19:31 ` Alex J Lennon [this message]
2015-02-01 19:38 ` peterengcomau001
2015-02-01 19:58 ` Alex J Lennon
2015-02-02 3:27 ` peterengcomau001
2015-02-02 11:32 ` Alex J Lennon
-- strict thread matches above, loose matches on Subject: below --
2015-01-28 9:56 Simon Bolek
2015-01-28 17:37 ` peterengcomau001
2015-01-26 15:02 peterengcomau001
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54CE7F17.4030102@dynamicdevices.co.uk \
--to=ajlennon@dynamicdevices.co.uk \
--cc=peterengcomau001@adam.com.au \
--cc=simon.bolek@googlemail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.