From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 68445E006EE; Mon, 20 Jul 2015 02:55:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (alvaromartineztovar[at]yahoo.es) * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [98.136.217.23 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from nm40.bullet.mail.gq1.yahoo.com (nm40.bullet.mail.gq1.yahoo.com [98.136.217.23]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 27430E0034B for ; Mon, 20 Jul 2015 02:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1437386103; bh=dltdJT8J2M9o3Pi8/zXHP4CG7mfJHXnp4iSXCPHDll4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=VvmWfXETjnQRsUhO8jwurKW60ychJWZSu7mxqhMwejytiaULMUNIC8EC9FwHwQFIJxVg9MlH2PLclC73j2Fb4MParyBS9rW2ZUgsb5DllsDb5IK1BLLD+HwloogaXse9Y2vIWSEss/e6gH2GX4NHT/1+OQDVn516M2nf8FR7AtIWciYxJiS0FRDKkp4x8FMfhzQqZYTIn72hMttewUrBA48ilwoMnRmDoEyOp1bfbwGKmpEhT4NVXuoGEI3j2lqR4NvYGnQimR7HvIB+AuWunXQjc/naAItTuS42oHX8k3Qx17WViN59MrekdfT4Zg4SvEjySjnFrZIeRrKf452Whg== Received: from [127.0.0.1] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 09:55:03 -0000 Received: from [216.39.60.181] by nm40.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 09:52:16 -0000 Received: from [212.82.98.57] by tm17.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 09:52:16 -0000 Received: from [212.82.98.111] by tm10.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jul 2015 09:52:16 -0000 Received: from [127.0.0.1] by omp1048.mail.ir2.yahoo.com with NNFMP; 20 Jul 2015 09:52:16 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 24843.85925.bm@omp1048.mail.ir2.yahoo.com X-YMail-OSG: mE0WA3QVM1n6TuVCNQ7buzM831TMFlc2XjvweoXJ2BrKUQMY_hwB4OAz15biqPp q_T.ZD5T1PDNEwn7uQ57zRk9zWWPkpd8VFUrDMJ7XwKmkrlF9qtnybNoOe.AJ_jcLNOw0np4gu8e X8DThGY5rFOGnN61cbJYSRsu8MMUgP7t4d4O8siqmJO4zuvJyL.oZh82izx8A9xjXkdp5ctkXy7M AJjvrB_qf1M9PrfRQUx243.pBDx7tBWANi8YoI6C7MKISs9VQGVn5BlbmFM7IQmMr9gQt7TuoEhv eYNUiWblZ6VgMMX68oxNe4vrwF28ZyjcTtn1KqTq6ULOitDmyuEroXrr40DmfcIbxp_CupXAwVe0 Rs.8Gr4hnEw1.g8BSdDoR.sKgzzw8q8.Z4PQceIwaLNrAqIuBk7lscmSm26vMAtAJO9fvBTT8C2W qLBM2ekoVPHPBpPETI.t6D8ep92SWiMHkeGLvXCf8S6zbx11ObBoWbYH4YvIn4Po4Ju_Yo7hLkrC ekUHfF39_hI4hRtWevJ26OTOr.tk564ARz6e_N06VDkMVWRXnrJKpagc564ke Received: by 217.12.9.13; Mon, 20 Jul 2015 09:52:15 +0000 Date: Mon, 20 Jul 2015 09:52:15 +0000 (UTC) From: Alvaro Martinez Tovar To: Felipe Tonello Message-ID: <695406876.921767.1437385935268.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: MIME-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" Subject: Re: Qt5 cross-compilation X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Alvaro Martinez Tovar List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 09:55:09 -0000 Content-Type: multipart/alternative; boundary="----=_Part_921766_261967530.1437385935256" ------=_Part_921766_261967530.1437385935256 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Felipe, hi all,I have followed your advice and have bin able to execute = some more examples.=20 I guess cross-compilation and SDK installation are OK, but I have some doub= ts on what to add to the IMAGE with IMAGE_INSTALL However, when I try to execute dashboard example, I get the error: root@imx6qsabresd:~/fcm/dashboard# ./dashboard Qt Warning: Could not find a location of the system's Compose files. Consid= er setting the QTCOMPOSE environment variable. Qt Warning: Could not find a location of the system's Compose files. Consid= er setting the QTCOMPOSE environment variable. QQmlApplicationEngine failed to load component qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" version 1.4 is not inst= alled And when I try to execute planets example, I get the error:Qt Warning: Coul= d not find a location of the system's Compose files. Consider setting the Q= TCOMPOSE environment variable. Qt Warning: Could not find a location of the system's Compose files. Consid= er setting the QTCOMPOSE environment variable. qrc:/planets.qml:38:1: module "QtCanvas3D" is not installed Unable to find an X11 visual which matches EGL config 5 At the moment, this is what I add to the fsl-image-qt5: IMAGE_INSTALL_append =3D " python-core \ apache2 \ php \ qtbase-fonts \ qtbase-plugins \ qtbase-tools \ qtbase-examples \ qtdeclarative \ qtdeclarative-plugins \ qtdeclarative-tools \ qtdeclarative-examples \ qtdeclarative-qmlplugins \ qtmultimedia \ qtmultimedia-plugins \ qtmultimedia-examples \ qtmultimedia-qmlplugins \ qtsvg \ qtsvg-plugins \ qtsensors \ qtimageformats-plugins \ qtsystems \ qtsystems-tools \ qtsystems-examples \ qtsystems-qmlplugins \ qtscript \ qt3d \ qt3d-examples \ qt3d-qmlplugins \ qt3d-tools \ qtwebkit \ qtwebkit-examples-examples \ qtwebkit-qmlplugins \ qtgraphicaleffects-qmlplugins \ qtconnectivity-dev \ qtconnectivity-mkspecs \ qtconnectivity-qmlplugins \ qtlocation-plugins \ qtlocation-qmlplugins \ qtquickcontrols-qmlplugins \ qtquick1 \ qtquick1-qmlplugins \ qtquick1-plugins \ i2c-tools \ " These are the modules that are installed in my board: root@imx6qsabresd:/usr/lib# ls libQt5*.so libQt5Bluetooth.so=C2=A0=C2=A0 libQt5OpenGL.so=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5Sql.so libQt5Concurrent.so=C2=A0 libQt5PrintSupport.so=C2=A0=C2=A0=C2=A0 libQt5Tes= t.so libQt5Core.so=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5Qml.so=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5Wi= dgets.so libQt5DBus.so=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5Quick.so=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5Xml.so libQt5Gui.so=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5QuickPar= ticles.so=C2=A0 libQt5XmlPatterns.so libQt5Network.so=C2=A0=C2=A0=C2=A0=C2=A0 libQt5QuickTest.so libQt5Nfc.so=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 libQt5QuickWid= gets.so Thank you very much for your feedback! De: Felipe Tonello Para: Alvaro Martinez Tovar =20 CC: "meta-freescale@yoctoproject.org" =20 Enviado: Mi=C3=A9rcoles 15 de julio de 2015 12:59 Asunto: Re: [meta-freescale] (no subject) =20 Hi Alvaro, On Tue, Jul 14, 2015 at 4:24 PM, Alvaro Martinez Tovar wrote: > Dear all, > > I am working with Qt5.5.0 and QtCreator 3.4.2 open source. On the hardwar= e > side I work with a i.MX6 sabre platform for smart devices. > > As a first aproach, after having created the image fsl-image-qt5 correctl= y > (I think), I would like to run different examples by cross compiling and > executing them on the SABRE platform. On my PC I run Ubuntu 14.04 LTS. Have you been able to create the SDK for that image? > > When I compile all the examples to run on the Ubuntu PC, they all work > properly (bluetooth, qtquick ...) > However, when I try to cross-compile and run them on the SABRE platform, = I > get execution errors with some of them. How do you compile them? Using bitbake? > > However, when I try to run a bluetooth scanner, I get: > ./btscanner: error while loading shared libraries: libQt5Bluetooth.so.5: > cannot open shared object file: No such file or directory > > And when I try to run a Qtquick example (dasboard), I get: > Qt Warning: Could not find a location of the system's Compose files. > Consider setting the QTCOMPOSE environment variable. > Qt Warning: Could not find a location of the system's Compose files. > Consider setting the QTCOMPOSE environment variable. > QQmlApplicationEngine failed to load component > qrc:/qml/dashboard.qml:45 module "QtQuick.Extras" is not installed > qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" is not installed > qrc:/qml/dashboard.qml:44 module "QtQuick.Controls.Styles" is not install= ed > qrc:/qml/dashboard.qml:45 module "QtQuick.Extras" is not installed > qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" is not installed > qrc:/qml/dashboard.qml:44 module "QtQuick.Controls.Styles" is not install= ed > qrc:/qml/dashboard.qml:45 module "QtQuick.Extras" is not installed > qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" is not installed > qrc:/qml/dashboard.qml:44 module "QtQuick.Controls.Styles" is not install= ed > > Can you please give me any advice on what to do? I am stuck at this point= . > Which are the packages I should add to IMAGE_INSTALL_append?? Well, It looks like some libraries and Qt5 modules are missing. You can add packages using IMAGE_INSTALL +=3D "package_name" in your local.conf file and build the whole image. This will install all new packages and its dependencies to the image. If you really want to build your own image, the best practice is to have a bbappend to that image or have your own image recipe in your own layer. Read this: http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#= var-IMAGE_INSTALL Felipe ------=_Part_921766_261967530.1437385935256 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Felipe, hi all,
I have followed your advice and have bin able to execute some= more examples.
I guess cross-= compilation and SDK installation are OK, but I have some doubts on what to = add to the IMAGE with IMAGE_INSTALL

= However, when I try to execut= e dashboard example, I get the error:

root@imx6qsabresd:~/fcm/das= hboard# ./dashboard
Qt Warning: Could not find a location of = the system's Compose files. Consider setting the QTCOMPOSE environment vari= able.
Qt Warning: Could not find a location of the system's C= ompose files. Consider setting the QTCOMPOSE environment variable.
QQmlApplicationEngine failed to load component
qrc:/qml= /dashboard.qml:43 module "QtQuick.Controls" version 1.4 is not installed

And when I try to execute planets example, I get t= he error:
Qt Warning: Could not fin= d a location of the system's Compose files. Consider setting the QTCOMPOSE = environment variable.
Qt Warning: Could not find a location o= f the system's Compose files. Consider setting the QTCOMPOSE environment va= riable.
qrc:/planets.qml:38:1: module "QtCanvas3D" is not ins= talled
Unable to find an X11 visual which matches EGL config = 5

At the moment,= this is what I add to the fsl-image-qt5:

IMAGE_INSTALL_append = =3D " python-core \
apache2 \
php \
qtbase-fonts \
qtbase-plugins \
qtbase-tools= \
qtbase-examples \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-examples \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-examples \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
q= tsystems-tools \
qtsystems-examples \
qtsystems= -qmlplugins \
qtscript \
qt3d \
q= t3d-examples \
qt3d-qmlplugins \
qt3d-tools \qtwebkit \
qtwebkit-examples-examples \
qtwebkit-qmlplugins \
qtgraphicaleffects-qmlplugins \qtconnectivity-dev \
qtconnectivity-mkspecs \qtconnectivity-qmlplugins \
qtlocation-plugins \<= br class=3D"">qtlocation-qmlplugins \
qtquickcontrols-qmlplug= ins \
qtquick1 \
qtquick1-qmlplugins \
qtquick1-plugins \
i2c-tools \
"
These are the modules = that are installed in my board:

root@imx6qsabresd:/usr/= lib# ls libQt5*.so
libQt5Bluetooth.so   libQt5OpenG= L.so          libQt5Sql.so
libQt5Concurrent.so  libQt5PrintSupport.so   = ; libQt5Test.so
libQt5Core.so     &n= bsp;  libQt5Qml.so        &nbs= p;    libQt5Widgets.so
libQt5DBus.so &nbs= p;      libQt5Quick.so    &nbs= p;      libQt5Xml.so
libQt5Gui.so&nb= sp;        libQt5QuickParticles.so = libQt5XmlPatterns.so
libQt5Network.so    = ; libQt5QuickTest.so
libQt5Nfc.so    &nbs= p;    libQt5QuickWidgets.so

Thank you very much for your feedback!
=

=
De: Felipe Tonello <eu@felipetonello.com>=
Para: Alvaro Martinez= Tovar <alvaromartineztovar@yahoo.es>
CC: "meta-freescale@yoctoproject.org" <meta-freesc= ale@yoctoproject.org>
Enviado= : Mi=C3=A9rcoles 15 de julio de 2015 12:59
Asunto: Re: [meta-freescale] (no subject)

Hi Alvaro,

On Tue, J= ul 14, 2015 at 4:24 PM, Alvaro Martinez Tovar
<alva= romartineztovar@yahoo.es> wrote:
> Dear all,>
> I am working with Qt5.5.0 and Q= tCreator 3.4.2 open source. On the hardware
> side I w= ork with a i.MX6 sabre platform for smart devices.
>> As a first aproach, after having created the image fs= l-image-qt5 correctly
> (I think), I would like to run= different examples by cross compiling and
> executing= them on the SABRE platform. On my PC I run Ubuntu 14.04 LTS.

Have you been able to create the SDK for that image= ?

>
> When I c= ompile all the examples to run on the Ubuntu PC, they all work
> properly (bluetooth, qtquick ...)
> However= , when I try to cross-compile and run them on the SABRE platform, I
> get execution errors with some of them.
<= br clear=3D"none">How do you compile them? Using bitbake?



>
> However, whe= n I try to run a bluetooth scanner, I get:
> ./btscann= er: error while loading shared libraries: libQt5Bluetooth.so.5:
> cannot open shared object file: No such file or directory
>
> And when I try to run a Qtquick ex= ample (dasboard), I get:
> Qt Warning: Could not find = a location of the system's Compose files.
> Consider s= etting the QTCOMPOSE environment variable.
> Qt Warnin= g: Could not find a location of the system's Compose files.
> Consider setting the QTCOMPOSE environment variable.
> QQmlApplicationEngine failed to load component
&= gt; qrc:/qml/dashboard.qml:45 module "QtQuick.Extras" is not installed
> qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" is n= ot installed
> qrc:/qml/dashboard.qml:44 module "QtQui= ck.Controls.Styles" is not installed
> qrc:/qml/dashbo= ard.qml:45 module "QtQuick.Extras" is not installed
> = qrc:/qml/dashboard.qml:43 module "QtQuick.Controls" is not installed
> qrc:/qml/dashboard.qml:44 module "QtQuick.Controls.Styles"= is not installed
> qrc:/qml/dashboard.qml:45 module "= QtQuick.Extras" is not installed
> qrc:/qml/dashboard.= qml:43 module "QtQuick.Controls" is not installed
> qr= c:/qml/dashboard.qml:44 module "QtQuick.Controls.Styles" is not installed>
> Can you please give me any adv= ice on what to do? I am stuck at this point.
> Which a= re the packages I should add to IMAGE_INSTALL_append??


Well, It looks like some libraries and Qt5 modules a= re missing. You
can add packages using IMAGE_INSTALL +=3D= "package_name" in your
local.conf file and build the who= le image. This will install all new
packages and its depe= ndencies to the image.

If you really w= ant to build your own image, the best practice is to
have= a bbappend to that image or have your own image recipe in your
own layer.

Read this: http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var= -IMAGE_INSTALL

Felipe



<= /div>
------=_Part_921766_261967530.1437385935256--