Skip to contentSkip to conversation

Qt5.6 new modules

DISCUSSION idealsim 2 participants 11 messages Mar 14, 2016 – Mar 18, 2016 1 message not in the archive

lore
Share & tools
lore
author
#1 lore raw

Re: <DKIM> Qt5.6 new modules

I have tried to add qtquickcontrols2 and qtserialbus to my conf but this modules have not buildable providers.
This modules are not included to meta qt5 ? If someone can just explain how to add this modules for yocto build (if is possible)this is very helpful !

regards

Mickaël

Le Mon, 14 Mar 2016 21:36:24 +0100, idealsim <[email protected]> a écrit:

Quoted 10 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ;-) ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is, to add this modules to our build, what do we need to add to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "
     This is sufficient ?

regards,

Mickael.

Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
author
#2 lore raw

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

    "qtquickcontrols2 \
     qtserialbus \
    "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

regards,

Mickael

#3 lore raw

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Quoted 11 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

    "qtquickcontrols2 \
     qtserialbus \
    "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

Quoted 11 lines

regards,

Mickael

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 1 line
http://ch.ege.io/
author
#4 lore raw

Thanks for the tip. I will try it out and let you know ...

Regards,

Mickaël

Quoted 54 lines · Christian Ege

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Quoted 11 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

Quoted 10 lines

regards,

Mickael

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#5 lore raw

Re: <DKIM> Re: Qt5.6 new modules

Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus :

/WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available//
//ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream//
//ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source.//
//ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862// //ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1'/

This is my /qtserialbus_git.bb :

//require qt5.inc//
//require qt5-git.inc//
//
//# There are no LGPLv3-only licensed files in this component.//
//# There are no GPLv2 licensed files in this component.//
//LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \//
// file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \//
//file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \//
//"//
//
//DEPENDS += "qtbase qtserialport"//
//
//SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"//

/An idea is welcome !

Regards,

Mickaël

Quoted 62 lines · idealsim

Thanks for the tip. I will try it out and let you know ...

Regards,

Mickaël

Quoted 54 lines · Christian Ege

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Quoted 11 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

Quoted 10 lines

regards,

Mickael

Signature · 4 lines
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
#6 lore raw

Re: <DKIM> Re: Qt5.6 new modules

Hi,

2016-03-17 17:16 GMT+01:00 idealsim <[email protected]>:

Quoted 31 lines

Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus :

WARNING: Failed to fetch URL
git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision
6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862
ERROR: Task 894
(/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb,
do_fetch) failed with exit code '1'

This is my qtserialbus_git.bb :

require qt5.inc
require qt5-git.inc

# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

LIC_FILES_CHKSUM = " \
    file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
    file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
    file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
    file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
Quoted 5 lines

"

DEPENDS += "qtbase qtserialport"

SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"

The SRCREV is the git SHA1 of the repository qtserialbus. For the 5.6 Branch the latest one is:

SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"

You can check the SHA1s here:
https://github.com/qtproject/qtserialbus/commits/5.6

The MD5 Sums will be complained during configure step and bitbake wil tell you the right ones.
Please check if the Licences do match

Regards,
Christian

Quoted 78 lines

An idea is welcome !

Regards,

Mickaël

Le 16/03/2016 14:57, idealsim a écrit :

Thanks for the tip. I will try it out and let you know ...

Regards,

Mickaël

Le 16/03/2016 10:17, Christian Ege a écrit :

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

regards,

Mickael

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 1 line
http://ch.ege.io/
author
#7 lore raw

Re: <DKIM> Re: <DKIM> Re: Qt5.6 new modules

Hi and thank you, now i know where to find SRCREV !
After adjust this variable and LICENSE.FDL the source is fetched. My bb :
/
//require qt5.inc//
//require qt5-git.inc//
//
//# There are no LGPLv3-only licensed files in this component.//
//# There are no GPLv2 licensed files in this component.//
//LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \//
// file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \//
//file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \//
//"//
//
//DEPENDS += "qtbase qtserialport"//
//
//SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"/

When i launch bitbake qtserialbus, the process build without error, but it seems there is something missing because the compile step is very fast and my neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+92c979c665-r0/package/ folder is empty ! If i take the qtsensors folder, there are this folder (in package) :
usr/
include/
lib/
src/

I'm looking to meta-qt5 BSP to find where i can precise to build my new recipe but didn't find anything can help. Do you know how to proceed ?

regards,

Quoted 134 lines · Christian Ege

Hi,

2016-03-17 17:16 GMT+01:00 idealsim <[email protected]>:

Quoted 31 lines

Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus :

WARNING: Failed to fetch URL
git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision
6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862
ERROR: Task 894
(/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb,
do_fetch) failed with exit code '1'

This is my qtserialbus_git.bb :

require qt5.inc
require qt5-git.inc

# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

LIC_FILES_CHKSUM = " \
     file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
     file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
     file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
     file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
Quoted 5 lines

"

DEPENDS += "qtbase qtserialport"

SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"

The SRCREV is the git SHA1 of the repository qtserialbus. For the 5.6 Branch the latest one is:

SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"

You can check the SHA1s here:
https://github.com/qtproject/qtserialbus/commits/5.6

The MD5 Sums will be complained during configure step and bitbake wil tell you the right ones.
Please check if the Licences do match

Regards,
Christian

Quoted 77 lines

An idea is welcome !

Regards,

Mickaël

Le 16/03/2016 14:57, idealsim a écrit :

Thanks for the tip. I will try it out and let you know ...

Regards,

Mickaël

Le 16/03/2016 10:17, Christian Ege a écrit :

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

      "qtquickcontrols2 \
       qtserialbus \
      "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

regards,

Mickael

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

A message that is not in the archive (sent off-list or not yet received): CAALGJZbxs3obBWw=iejAYgdoJtwwDqat+GSPMcK+VmCc=rWFGw@mail.gmail.com

author
#9 lore raw

Re: <DKIM> Re: <DKIM> Re: Qt5.6 new modules

It seems that they have a problem with c++11, see QTBUG-51655, change comit https://github.com/qtproject/qtserialbus/commit/04b75569f36eec14662505a08bf8c1d565cb10fe

The SRCREV is now 04b75569f36eec14662505a08bf8c1d565cb10fe

Seems to work ! compil the lib ...

Continue to build the master image now

Mickaël

Quoted 188 lines · Christian Ege

Hi,

2016-03-18 10:00 GMT+01:00 idealsim <[email protected]>:

Quoted 32 lines

Hi and thank you, now i know where to find SRCREV !
After adjust this variable and LICENSE.FDL the source is fetched. My bb :

require qt5.inc
require qt5-git.inc

# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

LIC_FILES_CHKSUM = " \
     file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
     file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
     file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \
     file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \

"

DEPENDS += "qtbase qtserialport"

SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"

When i launch bitbake qtserialbus, the process build without error, but it
seems there is something missing because the compile step is very fast and
my neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+92c979c665-r0/package/ folder is empty ! If i take the qtsensors folder, there are this folder (in
package) :
usr/
include/
lib/
src/

Quoted 2 lines

I'm looking to meta-qt5 BSP to find where i can precise to build my new recipe but didn't find anything can help. Do you know how to proceed ?

You can execute a bitbake with option -v so You'll see the output. But When the package was previously build you should clean stuff before

bitbake -ccleansstate qtserialbus
bitbake -v qtserialbus

Best,
Christian

Quoted 141 lines

regards,

Le 18/03/2016 08:16, Christian Ege a écrit :

Hi,

2016-03-17 17:16 GMT+01:00 idealsim <[email protected]>:

Hi, i have started a build of the image this master Branch, like you said i have an error on qtserialbus :

WARNING: Failed to fetch URL
git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git,
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision
6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream
ERROR: Function failed: Fetcher failure for URL:
'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862
ERROR: Task 894
(/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb,
do_fetch) failed with exit code '1'

This is my qtserialbus_git.bb :

require qt5.inc
require qt5-git.inc

# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

LIC_FILES_CHKSUM = " \
     file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
     file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
     file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
     file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \

"

DEPENDS += "qtbase qtserialport"

SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"

The SRCREV is the git SHA1 of the repository qtserialbus. For the 5.6 Branch the latest one is:

SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"

You can check the SHA1s here:
https://github.com/qtproject/qtserialbus/commits/5.6

The MD5 Sums will be complained during configure step and bitbake wil tell you the right ones.
Please check if the Licences do match

Regards,
Christian

An idea is welcome !

Regards,

Mickaël

Le 16/03/2016 14:57, idealsim a écrit :

Thanks for the tip. I will try it out and let you know ...

Regards,

Mickaël

Le 16/03/2016 10:17, Christian Ege a écrit :

Hi,,

2016-03-16 9:04 GMT+01:00 idealsim <[email protected]>:

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ). The problem is that I'm looking for
https://github.com/qtproject/qtquickcontrols2 and
https://github.com/qtproject/qtserialbus. My question is how we can add this modules to our build ? I add this to our local.conf :

      "qtquickcontrols2 \
       qtserialbus \
      "

But this modules don't have buildable providers ! If someone can help to said me how to proceed ...

You can try to add a meta-qt5/recipes-qt/qt5/qtserialbus_git.bb and take for example meta-qt5/recipes-qt/qt5/qtsensors_git.bb as reference

require qt5.inc
require qt5-git.inc
# There are no LGPLv3-only licensed files in this component. # There are no GPLv2 licensed files in this component. LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)" LIC_FILES_CHKSUM = " \
file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \
file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
file://LGPL_EXCEPTION.txt;md5=9625233da42f9e0ce9d63651a9d97654 \
file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \
"
DEPENDS += "qtbase"

SRCREV = "71a323e1f12df8d213a4052621027e223eb5a343"

The configure step will bail out due to the fact that you have wrong checksums but it will show you the right ones

Best,
Christian

regards,

Mickael

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author
#10 lore raw

Re: <DKIM> Re: <DKIM> Qt5.6 new modules

In reply to idealsim

Like another user advise me on yocto project mailling list, i create a qtserialbus_git.bb based on qtsensor_git.bb, this is the file :

/require qt5.inc//
//require qt5-git.inc//
//
//# There are no LGPLv3-only licensed files in this component.//
//# There are no GPLv2 licensed files in this component.//
//LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \// //file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \// //file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \//
//"//
//
//DEPENDS += "qtbase qtserialport"//
//
//SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"//

/I didn't change the md5 and SRCREV from qtsensor (i don't know how to obtain it !), i have this error during the build :

/WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available//
//ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream//
//ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source.//
//ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862// //ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1'

/If someone can help please .../

regards
/

Quoted 25 lines · idealsim

I have tried to add qtquickcontrols2 and qtserialbus to my conf but this modules have not buildable providers.
This modules are not included to meta qt5 ? If someone can just explain how to add this modules for yocto build (if is possible)this is very helpful !

regards

Mickaël

Le Mon, 14 Mar 2016 21:36:24 +0100, idealsim <[email protected]> a écrit:

Quoted 10 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ;-) ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is, to add this modules to our build, what do we need to add to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "
     This is sufficient ?

regards,

Mickael.

author
#11 lore raw

Re: <DKIM> Re: <DKIM> Qt5.6 new modules

After adjust SRCREV and LICENSE.FDL the source is fetched. My bb :
/
//require qt5.inc//
//require qt5-git.inc//
//
//# There are no LGPLv3-only licensed files in this component.//
//# There are no GPLv2 licensed files in this component.//
//LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \// //file://LICENSE.FDL;md5=f70ee9a6c44ae8917586fea34dff0ab5 \// //file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \//
//"//
//
//DEPENDS += "qtbase qtserialport"//
//
//SRCREV = "92c979c6652d55c30ab9118d45db74d8da96fc3b"/

When i launch bitbake qtserialbus, the process build without error, but it seems there is something missing because the compile step is very fast and my neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+92c979c665-r0/package/ folder is empty ! If i take the qtsensors folder, there are this folder (in package) :
usr/
include/
lib/
src/

I'm looking to meta-qt5 BSP to find where i can precise to build my new recipe but didn't find anything can help. Can you explain how to proceed please ?

regards,

Quoted 59 lines · idealsim

Like another user advise me on yocto project mailling list, i create a qtserialbus_git.bb based on qtsensor_git.bb, this is the file :

/require qt5.inc//
//require qt5-git.inc//
//
//# There are no LGPLv3-only licensed files in this component.//
//# There are no GPLv2 licensed files in this component.//
//LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & The-Qt-Company-Qt-LGPL-Exception-1.1 | LGPL-3.0)"// //LIC_FILES_CHKSUM = " \// //file://LICENSE.LGPLv3;md5=b8c75190712063cde04e1f41b6fdad98 \// //file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \// //file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \// //file://LICENSE.GPLv2;md5=05832301944453ec79e40ba3c3cfceec \//
//"//
//
//DEPENDS += "qtbase qtserialport"//
//
//SRCREV = "6a16281aceedb713676e16c3074e6f7ea1e70b79"//

/I didn't change the md5 and SRCREV from qtsensor (i don't know how to obtain it !), i have this error during the build :

/WARNING: Failed to fetch URL git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git, attempting MIRRORS if available//
//ERROR: Fetcher failure: Unable to find revision 6a16281aceedb713676e16c3074e6f7ea1e70b79 in branch 5.6 even from upstream//
//ERROR: Function failed: Fetcher failure for URL: 'git://github.com/qtproject/qtserialbus.git;name=qtserialbus;branch=5.6;protocol=git'. Unable to fetch URL from any source.//
//ERROR: Logfile of failure stored in: /media/modjo/data1TO/yocto/seco/udoo-community-bsp/neoBuild/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtserialbus/5.5.99+5.6.0-rc+gitAUTOINC+6a16281ace-r0/temp/log.do_fetch.5862// //ERROR: Task 894 (/media/modjo/data1TO/yocto/seco/udoo-community-bsp/sources/meta-qt5/recipes-qt/qt5/qtserialbus_git.bb, do_fetch) failed with exit code '1'

/If someone can help please .../

regards
/

Quoted 25 lines · idealsim

I have tried to add qtquickcontrols2 and qtserialbus to my conf but this modules have not buildable providers.
This modules are not included to meta qt5 ? If someone can just explain how to add this modules for yocto build (if is possible)this is very helpful !

regards

Mickaël

Le Mon, 14 Mar 2016 21:36:24 +0100, idealsim <[email protected]> a écrit:

Quoted 10 lines

Hi, we have build an image for udoo neo from meta-qt5 jansa/master-5.6 and works fine (thanks to Christian Ege ;-) ). The problem is that I'm looking for https://github.com/qtproject/qtquickcontrols2 and https://github.com/qtproject/qtserialbus. My question is, to add this modules to our build, what do we need to add to our local.conf :

     "qtquickcontrols2 \
      qtserialbus \
     "
     This is sufficient ?

regards,

Mickael.