From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 551BFE009B8; Wed, 15 Jul 2015 03:59:31 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.218.45 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7F5A9E009B2 for ; Wed, 15 Jul 2015 03:59:28 -0700 (PDT) Received: by oihq81 with SMTP id q81so25767520oih.2 for ; Wed, 15 Jul 2015 03:59:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=EXYhcRfW6YDCnRwwKcUhpi0Tz+xXI1DeNCZQhyLJsYg=; b=aqOxIuvRekBsv5Xgi6hIhmVfGp+K2s+v/DErZP/yO/8l5gJASBk+Yc0mBrh6zUCH3/ 8Ogv0Ke/rHehrq1Q3ulw3sKMkQVSx1TbrlcmO4S8iFTMp9fz1DrVEt4OerkmqnRkuZRH KSNM9pnjPyjzohZz8Vr39gmoUiuGY5qmOZwA3kmOw1ZGSJtB3wQP6mLTSaL2EiagMVZa +J/GQNH4qxY/fhmfln3T4gvmIsHTJJiysM3ns6cq8ION4lO9HhhyilBbmuo0H6EB5nkB ATt/yi0XRjkIEDE7rEKZWNTEK6ufaMDAYGlsru/g6Z0Bhn7nQuUk6QNzu1Le9I80f57b gdEw== X-Gm-Message-State: ALoCoQlpJNL5lHCsypnZqcutVcLV1DYA90jvMYe6tNVEJNwe1DEr5G2mDno1DjMNaP/nr+T1YAIM MIME-Version: 1.0 X-Received: by 10.202.61.85 with SMTP id k82mr2999385oia.73.1436957967181; Wed, 15 Jul 2015 03:59:27 -0700 (PDT) Received: by 10.76.147.66 with HTTP; Wed, 15 Jul 2015 03:59:27 -0700 (PDT) In-Reply-To: <43045188.2923844.1436887450973.JavaMail.yahoo@mail.yahoo.com> References: <43045188.2923844.1436887450973.JavaMail.yahoo@mail.yahoo.com> Date: Wed, 15 Jul 2015 11:59:27 +0100 Message-ID: From: Felipe Tonello To: Alvaro Martinez Tovar Cc: "meta-freescale@yoctoproject.org" Subject: (No subject) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list 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: Wed, 15 Jul 2015 10:59:31 -0000 Content-Type: text/plain; charset=UTF-8 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 hardware > side I work with a i.MX6 sabre platform for smart devices. > > As a first aproach, after having created the image fsl-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 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 installed > 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 installed > 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 installed > > 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 += "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