Add lib to meta-qt5
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
I'm working with an old version of YOCTO, jethro 2.0. And I want to produce an SDK of QT5, version 5.5.1.
So, I add the layer meta-qt5 on YOCTO for build the following recipe :
https://github.com/meta-qt5/meta-qt5/tree/jethro
meta-toolchain-qt5
My question is :
How to add an lib ( libqt5declarative.so.5.5.1 for example ) on SDK of QT5 ?
thanks by advance.
Hi Laurent,
The SDK is defined by the following packagegroup:
https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
.
---
Pierre-Jean
2018-03-23 14:39 GMT+01:00 Laurent JOLI <[email protected]>:
Quoted 25 lines
Hello,
I'm working with an old version of YOCTO, jethro 2.0. And I want to produce an SDK of QT5, version 5.5.1.
So, I add the layer meta-qt5 on YOCTO for build the following recipe :
https://github.com/meta-qt5/meta-qt5/tree/jethro
meta-toolchain-qt5
My question is :
How to add an lib ( libqt5declarative.so.5.5.1 for example ) on SDK of QT5 ?
thanks by advance.
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
De: "TEXIER Pierre-Jean" <[email protected]> À: "Laurent JOLI" <[email protected]>
Cc: "yocto" <[email protected]>
Envoyé: Vendredi 23 Mars 2018 15:20:50
Objet: Re: [yocto] Add lib to meta-qt5
Hi Laurent,
The SDK is defined by the following packagegroup:
[ https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb | https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb ] .
I build all my SDK with :
bitbake -v meta-toolchain-qt5
At the end I have a big script :
.-(/media/tmp-jethro-XXX/deploy/sdk)--------
`--> lc
total 824M
-rw-r--r-- 1 ljoli ljoli 8,9K mars 23 13:28 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.host.manifest -rwxr-xr-x 1 ljoli ljoli 824M mars 23 13:29 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.sh -rw-r--r-- 1 ljoli ljoli 19K mars 23 13:28 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest
But I have not my lib of libqt5declarative :
`--> cat * | grep -ri libqt5 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-dev core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-examples-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-mkspecs core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-plugins core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-plugins-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-qmlplugins core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors-qmlplugins-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5sensors5 core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5serialport-dbg core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5serialport-dev core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5serialport-mkspecs core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5serialport5 core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg-dbg core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg-dev core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg-mkspecs core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg-plugins core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg-plugins-dbg core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5svg5 core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel-dbg core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel-dev core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel-mkspecs core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel-qmlplugins core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel-qmlplugins-dbg core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5webchannel5 core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets-dbg core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets-dev core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets-mkspecs core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets-qmlplugins core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets-qmlplugins-dbg core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5websockets5 core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5xmlpatterns-dbg core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5xmlpatterns-dev core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5xmlpatterns-mkspecs core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.target.manifest:libqt5xmlpatterns5 core2-32 5.5.1+git0+3338de7bbe
---
Pierre-Jean
2018-03-23 14:39 GMT+01:00 Laurent JOLI < [ mailto:[email protected] | [email protected] ] > :
Hello,
I'm working with an old version of YOCTO, jethro 2.0. And I want to produce an SDK of QT5, version 5.5.1.
So, I add the layer meta-qt5 on YOCTO for build the following recipe :
[ https://github.com/meta-qt5/meta-qt5/tree/jethro | https://github.com/meta-qt5/meta-qt5/tree/jethro ]
meta-toolchain-qt5
My question is :
How to add an lib ( libqt5declarative.so.5.5.1 for example ) on SDK of QT5 ?
thanks by advance.
Signature · 4 lines
_______________________________________________ yocto mailing list [ mailto:[email protected] | [email protected] ] [ https://lists.yoctoproject.org/listinfo/yocto | https://lists.yoctoproject.org/listinfo/yocto ]
Laurent,
Have you tried to install the SDK ? if not, runnning the following command:
$: ./pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.sh
And follow the steps to install the SDK, and then go to <install_path>/poky/sysroots/<your target architecture>/usr/lib
And you'll be able to find libQt5Declarative library.
---
Pierre-Jean
2018-03-23 16:09 GMT+01:00 Laurent JOLI <[email protected]>:
Quoted 169 lines
------------------------------
*De: *"TEXIER Pierre-Jean" <[email protected]>
*À: *"Laurent JOLI" <[email protected]>
*Cc: *"yocto" <[email protected]>
*Envoyé: *Vendredi 23 Mars 2018 15:20:50
*Objet: *Re: [yocto] Add lib to meta-qt5Hi Laurent,
The SDK is defined by the following packagegroup:
https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-
qt/packagegroups/packagegroup-qt5-toolchain-target.bb.I build all my SDK with :
bitbake -v meta-toolchain-qt5
At the end I have a big script :
.-(/media/tmp-jethro-XXX/deploy/sdk)--------
`--> lc
total 824M
-rw-r--r-- 1 ljoli ljoli 8,9K mars 23 13:28 pokykapsofia-glibc-i686-meta- toolchain-qt5-core2-32-toolchain-1.0.host.manifest
-rwxr-xr-x 1 ljoli ljoli 824M mars 23 13:29 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32-toolchain-1.0.sh
-rw-r--r-- 1 ljoli ljoli 19K mars 23 13:28 pokykapsofia-glibc-i686-meta- toolchain-qt5-core2-32-toolchain-1.0.target.manifestBut I have not my lib of libqt5declarative :
`--> cat * | grep -ri libqt5
pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-dev core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-examples-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-mkspecs core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-plugins core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-plugins-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-qmlplugins core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors-qmlplugins-dbg core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5sensors5 core2-32 5.5.1+git0+6a16281ace pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5serialport-dbg core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5serialport-dev core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5serialport-mkspecs core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5serialport5 core2-32 5.5.1+git0+ad108e9d56 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg-dbg core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg-dev core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg-mkspecs core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg-plugins core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg-plugins-dbg core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5svg5 core2-32 5.5.1+git0+b5d689eaaf pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel-dbg core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel-dev core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel-mkspecs core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel-qmlplugins core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel-qmlplugins-dbg core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5webchannel5 core2-32 5.5.1+git0+906d910415 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets-dbg core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets-dev core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets-mkspecs core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets-qmlplugins core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets-qmlplugins-dbg core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5websockets5 core2-32 5.5.1+git0+08582917b4 pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5xmlpatterns-dbg core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5xmlpatterns-dev core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5xmlpatterns-mkspecs core2-32 5.5.1+git0+3338de7bbe pokykapsofia-glibc-i686-meta-toolchain-qt5-core2-32- toolchain-1.0.target.manifest:libqt5xmlpatterns5 core2-32 5.5.1+git0+3338de7bbe
---
Pierre-Jean2018-03-23 14:39 GMT+01:00 Laurent JOLI <[email protected]>:
Quoted 25 lines
Hello,
I'm working with an old version of YOCTO, jethro 2.0. And I want to produce an SDK of QT5, version 5.5.1.
So, I add the layer meta-qt5 on YOCTO for build the following recipe :
https://github.com/meta-qt5/meta-qt5/tree/jethro
meta-toolchain-qt5
My question is :
How to add an lib ( libqt5declarative.so.5.5.1 for example ) on SDK of QT5 ?
thanks by advance.
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
J'ai copier la lib libQt5Declarative dans le SDK
/opt/SDK_5.5.1/sysroots/core2-32-oe-linux/usr/lib/
J'ai sourcé mon shel puis relancé qtcreator mais j'ai toujours la même erreur :
Project ERROR: Unknown module(s) in QT: declarative
De: "Laurent JOLI" <[email protected]>
À: "yocto" <[email protected]>
Envoyé: Vendredi 23 Mars 2018 14:39:26
Objet: Add lib to meta-qt5
Hello,
I'm working with an old version of YOCTO, jethro 2.0. And I want to produce an SDK of QT5, version 5.5.1.
So, I add the layer meta-qt5 on YOCTO for build the following recipe :
https://github.com/meta-qt5/meta-qt5/tree/jethro
meta-toolchain-qt5
My question is :
How to add an lib ( libqt5declarative.so.5.5.1 for example ) on SDK of QT5 ?
thanks by advance.