Re: [yocto] Add a module/library to meta-toolchain-qt5 sdk

2018-02-11 Thread Pehen Azam
Hei Pierre-Jean
Thank you so much. I was struggling with this for a long time.

Regards Pehen

On 9 Feb 2018 3:01 pm, "TEXIER Pierre-Jean"  wrote:

> Hi Peneh,
>
> 2018-02-09 12:39 GMT+01:00 Pehen Azam :
>
>> Hi,
>> I try to add qtcharts to meta-toolchain-qt5. My question is to which
>> recipes/files should I add qtcharts to have qtcharts on meta-toolchain-qt5
>> sdk?
>> I need to compile my program with qmake at `/opt/myimage/2.1.2/sysroots/x
>> 86_64-pokysdk-linux/usr/bin/qt5/qmake`
>> I am not sure where should I put the qtcharts. Under meta-qt5 or
>> meta-myapplication/recipes-qt or somewhere else
>>  here is poky directory:
>> poky$ tree -L 2
>>
>> .
>>
>> ├── bitbake
>>
>> │   └── ...
>>
>> ├── build
>>
>> │   └── ...
>>
>> ├── meta
>>
>> │   └── ...
>>
>> ├── meta-freescale-distro
>>
>> │   └── ...
>>
>> ├── meta-fsl-arm
>>
>> │   └── ...
>>
>> ├── meta-myqtapplication
>>
>> │   ├── classes
>>
>> │   ├── conf
>>
>> │   ├── DOC
>>
>> │   ├── licenses
>>
>> │   ├── meta-patch
>>
>> │   ├── README.md
>>
>> │   ├── recipes-apps
>>
>> │   ├── recipes-bsp
>>
>> │   ├── recipes-connectivity
>>
>> │   ├── recipes-core
>>
>> │   ├── recipes-kernel
>>
>> │   └── recipes-qt
>>
>> ├── meta-openembedded
>>
>> │   └── ...
>>
>> ├── meta-poky
>>
>> │   └── ...
>>
>> ├── meta-qt5
>>
>> │   ├── classes
>>
>> │   ├── conf
>>
>> │   ├── COPYING.MIT
>>
>> │   ├── files
>>
>> │   ├── lib
>>
>> │   ├── licenses
>>
>> │   ├── README
>>
>> │   ├── recipes-connectivity
>>
>> │   ├── recipes-devtools
>>
>> │   └── recipes-qt
>>
>> ├── meta-selftest
>>
>> ├── meta-skeleton
>>
>> ├── meta-yocto
>>
>> ├── meta-yocto-bsp
>>
>> Regards,
>> Peneh
>>
>
>
> If you want to work with qtcharts and meta-toolchain-qt5 (to have a
> correct sysroot),
> you must add this module to the following file: 
> /recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb.
>
> FYI, I pushed a patch last wednesday to support qtcharts and qtmqtt:
> https://patchwork.openembedded.org/patch/147962/
>
> Regards
>
> ---
> Pierre-Jean
>
>>
>>
>>
>>
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Add a module/library to meta-toolchain-qt5 sdk

2018-02-09 Thread TEXIER Pierre-Jean
Hi Peneh,

2018-02-09 12:39 GMT+01:00 Pehen Azam :

> Hi,
> I try to add qtcharts to meta-toolchain-qt5. My question is to which
> recipes/files should I add qtcharts to have qtcharts on meta-toolchain-qt5
> sdk?
> I need to compile my program with qmake at `/opt/myimage/2.1.2/sysroots/
> x86_64-pokysdk-linux/usr/bin/qt5/qmake`
> I am not sure where should I put the qtcharts. Under meta-qt5 or
> meta-myapplication/recipes-qt or somewhere else
>  here is poky directory:
> poky$ tree -L 2
>
> .
>
> ├── bitbake
>
> │   └── ...
>
> ├── build
>
> │   └── ...
>
> ├── meta
>
> │   └── ...
>
> ├── meta-freescale-distro
>
> │   └── ...
>
> ├── meta-fsl-arm
>
> │   └── ...
>
> ├── meta-myqtapplication
>
> │   ├── classes
>
> │   ├── conf
>
> │   ├── DOC
>
> │   ├── licenses
>
> │   ├── meta-patch
>
> │   ├── README.md
>
> │   ├── recipes-apps
>
> │   ├── recipes-bsp
>
> │   ├── recipes-connectivity
>
> │   ├── recipes-core
>
> │   ├── recipes-kernel
>
> │   └── recipes-qt
>
> ├── meta-openembedded
>
> │   └── ...
>
> ├── meta-poky
>
> │   └── ...
>
> ├── meta-qt5
>
> │   ├── classes
>
> │   ├── conf
>
> │   ├── COPYING.MIT
>
> │   ├── files
>
> │   ├── lib
>
> │   ├── licenses
>
> │   ├── README
>
> │   ├── recipes-connectivity
>
> │   ├── recipes-devtools
>
> │   └── recipes-qt
>
> ├── meta-selftest
>
> ├── meta-skeleton
>
> ├── meta-yocto
>
> ├── meta-yocto-bsp
>
> Regards,
> Peneh
>


If you want to work with qtcharts and meta-toolchain-qt5 (to have a correct
sysroot),
you must add this module to the following file: 
/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb.

FYI, I pushed a patch last wednesday to support qtcharts and qtmqtt:
https://patchwork.openembedded.org/patch/147962/

Regards

---
Pierre-Jean

>
>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto