From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DCA46E00A51; Wed, 17 Jun 2015 10:32:00 -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=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 2808 seconds by postgrey-1.32 at yocto-www; Wed, 17 Jun 2015 10:31:58 PDT Received: from ice.tylerent.com (iceout.tylerent.com [66.122.146.178]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 16B7FE009DF for ; Wed, 17 Jun 2015 10:31:58 -0700 (PDT) Received: from winxp-virtp ([10.48.96.16]) by ice.tylerent.com (8.12.11.20060308/8.12.10) with ESMTP id t5HGiwmf010605; Wed, 17 Jun 2015 09:44:58 -0700 Message-Id: <201506171644.t5HGiwmf010605@ice.tylerent.com> From: "Dale Tyler" To: "Daiane Angolini" , "Otavio Salvador" Date: Wed, 17 Jun 2015 09:44:58 -0700 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) In-Reply-To: MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jun 2015 13:13:20 -0700 Cc: "meta-freescale@yoctoproject.org" , "freescale11@tylerent.com" Subject: Re: Yocto 1.6 + QT5.3.2 on i.MX6 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Dale Tyler 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, 17 Jun 2015 17:32:00 -0000 Content-Type: multipart/alternative; boundary="_=_=_=IMA.BOUNDARY.HTML_6741784=_=_=_" --_=_=_=IMA.BOUNDARY.HTML_6741784=_=_=_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Octavio, Thank you for the reply. I added PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" to local.conf, removed the two PACKAGECONFIG_append lines from that file as well. I then added RDEPENDS_${PN} = "qtquickcontrols-qmlplugins" to my bit-linux-image.bb file that has: include recipes- core/images/core-image-base.bb I removed qtquick1, qtquickcontrols and qtquickcontrols-qmlplusins from my IMAGE_INSTALL variable set in bit-linux-image.bb. The build error has gone away, but the qtquickcontrols files are not in the rootfs image, either. Do you have any other suggestions that I might try? This is what I am using to build my image. Thanks, Dale cat ../sources/meta-bit-linux/recipes-bit-linux/images/bit-linux-image.bb include recipes-core/images/core-image-base.bb WEB = "web-webkit" SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps" # Add extra image features EXTRA_IMAGE_FEATURES += " \ ${SOC_EXTRA_IMAGE_FEATURES} \ debug-tweaks \ tools-debug \ tools-profile \ tools-testapps \ hwcodecs \ " SOC_IMAGE_INSTALL = "" IMAGE_INSTALL += " \ ${SOC_IMAGE_INSTALL} \ cpufrequtils \ nano \ " IMAGE_INSTALL += " \ gcc \ g++ \ binutils \ libgcc \ libgcc-dev \ libstdc++ \ libstdc++-dev \ libstdc++-staticdev \ " IMAGE_INSTALL += " \ alsa-lib \ alsa-utils \ cups \ memtester \ mtd-utils \ ethtool \ devmem2 \ acpid \ procps \ zlib \ iproute2 \ sqlite3 \ dropbear \ " IMAGE_INSTALL += " \ tslib-conf \ tslib-tests \ tslib-calibrate \ alsa-lib \ alsa-tools \ alsa-state \ alsa-utils-alsaconf \ dbus \ " IMAGE_INSTALL += " \ i2c-tools \ canutils \ libsocketcan \ " IMAGE_INSTALL += " \ python-imaging \ python-json \ python-simplejson \ python-numpy \ python-ctypes \ python-distutils \ python-multiprocessing \ python-pyserial \ python-smbus \ python-twisted \ python-twisted-core \ python-autobahn \ python-threading \ python-misc \ python-importlib \ " IMAGE_INSTALL += " \ gpu-viv-bin-mx6q \ gstreamer \ cairo \ pango \ fontconfig \ freetype \ " IMAGE_INSTALL += " \ release-stats \ " IMAGE_INSTALL += " \ 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-qmlplugins \ qtlocation-plugins \ qtlocation-qmlplugins \ " # these qt packages are segregated becuase of a yocto build issue that causes the # do_rootfs step to fail # as a workaround, perform the build with these packages enable, then change to # XXIMAGE_INSTALL and rerun the build. The three packages have to manually copied # to the SD card XXIMAGE_INSTALL += " \ qtquick1 \ qtquickcontrols \ qtquickcontrols-qmlplugins \ " RDEPENDS_${PN} = "qtquickcontrols-qmlplugins" export IMAGE_BASENAME = "bit-linux-image" local.conf additions: DISTRO_FEATURES_remove = " x11 wayland nfs bluetooth ppp wifi ptest 3g zeroconf " DISTRO_FEATURES_append = " opengl pulseaudio alsa " UBOOT_CONFIG = "pn016100" PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" On Mon, 15 Jun 2015 09:25:58 -0300, Otavio Salvador wrote: >On Mon, Jun 15, 2015 at 7:42 AM, Daiane Angolini wrote: >> On Sat, Jun 13, 2015 at 4:31 PM, Dale Tyler wrote: >>> Has anyone built an image similar to what we are using and fixed this issue? >> >> I know there are someone in the mailing list with success on using >> QT5.x, I cannot remember who or which branch. >> However I have never saw this: >> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility" >> PACKAGECONFIG_append_pn-qtbase = " accessibility" >We support several customers, at O.S. Systems, using Qt. We have been >using it in Dizzy and Fido for different customers. >We use: >PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" >Because of [1]. >1. https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L50 >And to include the QtQuickControls you should add >qtquickcontrols-qmlplugins as RDEPENDS on your application. >It should work as expected. >-- >Otavio Salvador O.S. Systems >http://www.ossystems.com.br http://code.ossystems.com.br >Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 --_=_=_=IMA.BOUNDARY.HTML_6741784=_=_=_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Octavio,

Thank you for the reply.

I added PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility" to local.conf, removed the two PACKAGECONFIG_append lines from that file as well.

I then added RDEPENDS_${PN}= "qtquickcontrols-qmlplugins" to my bit-linux-image.bb file that has: include recipes-core/images/core-image-base.bb

I removed qtquick1, qtquickcontrols and qtquickcontrols-qmlplusins from my IMAGE_INSTALL variable set in bit-linux-image.bb.

The build error has gone away, but the qtquickcontrols files are not in the rootfs image, either.

Do you have any other suggestions that I might try?

This is what I am using to build my image.

Thanks,
Dale

cat ../sources/meta-bit-linux/recipes-bit-linux/images/bit-linux-image.bb
include recipes-core/images/core-image-base.bb

WEB = "web-webkit"

SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"

# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES}\
debug-tweaks \
tools-debug \
tools-profile \
tools-testapps \
hwcodecs \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
${SOC_IMAGE_INSTALL}\
cpufrequtils \
nano \
"

IMAGE_INSTALL += " \
gcc \
g++ \
binutils \
libgcc \
libgcc-dev \
libstdc++ \
libstdc++-dev \
libstdc++-staticdev \
"

IMAGE_INSTALL += " \
alsa-lib \
alsa-utils \
cups \
memtester \
mtd-utils \
ethtool \
devmem2 \
acpid \
procps \
zlib \
iproute2 \
sqlite3 \
dropbear \
"

IMAGE_INSTALL += " \
tslib-conf \
tslib-tests \
tslib-calibrate \
alsa-lib \
alsa-tools \
alsa-state \
alsa-utils-alsaconf \
dbus \
"

IMAGE_INSTALL += " \
i2c-tools \
canutils \
libsocketcan \
"

IMAGE_INSTALL += " \
python-imaging \
python-json \
python-simplejson \
python-numpy \
python-ctypes \
python-distutils \
python-multiprocessing \
python-pyserial \
python-smbus \
python-twisted \
python-twisted-core \
python-autobahn \
python-threading \
python-misc \
python-importlib \
"

IMAGE_INSTALL += " \
gpu-viv-bin-mx6q \
gstreamer \
cairo \
pango \
fontconfig \
freetype \
"
IMAGE_INSTALL += " \
release-stats \
"

IMAGE_INSTALL += " \
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-qmlplugins \
qtlocation-plugins \
qtlocation-qmlplugins \
"

# these qt packages are segregated becuase of a yocto build issue that causes the
# do_rootfs step to fail
# as a workaround, perform the build with these packages enable, then change to
# XXIMAGE_INSTALL and rerun the build. The three packages have to manually copied
# to the SD card
XXIMAGE_INSTALL += " \
qtquick1 \
qtquickcontrols \
qtquickcontrols-qmlplugins \
"

RDEPENDS_${PN}= "qtquickcontrols-qmlplugins"

export IMAGE_BASENAME = "bit-linux-image"

local.conf additions:
DISTRO_FEATURES_remove = " x11 wayland nfs bluetooth ppp wifi ptest 3g zeroconf "
DISTRO_FEATURES_append = " opengl pulseaudio alsa "
UBOOT_CONFIG = "pn016100"
PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility"



On Mon, 15 Jun 2015 09:25:58 -0300, Otavio Salvador wrote:

>On Mon, Jun 15, 2015 at 7:42 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Sat, Jun 13, 2015 at 4:31 PM, Dale Tyler <freescale11@tylerent.com> wrote:
>>> Has anyone built an image similar to what we are using and fixed this issue?
>>
>> I know there are someone in the mailing list with success on using
>> QT5.x, I cannot remember who or which branch.
>> However I have never saw this:
>> PACKAGECONFIG_append_pn-qtquickcontrols = " accessibility"
>> PACKAGECONFIG_append_pn-qtbase = " accessibility"
>
>
>We support several customers, at O.S. Systems, using Qt. We have been
>using it in Dizzy and Fido for different customers.
>
>We use:
>
>PACKAGECONFIG_DISTRO_pn-qtbase = "accessibility"
>
>Because of [1].
>
>1. https://github.com/meta-qt5/meta-qt5/blob/master/recipes-qt/qt5/qtbase_git.bb#L50
>
>And to include the QtQuickControls you should add
>qtquickcontrols-qmlplugins as RDEPENDS on your application.
>
>It should work as expected.
>
>--
>Otavio Salvador O.S. Systems
>http://www.ossystems.com.br http://code.ossystems.com.br
>Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
>

--_=_=_=IMA.BOUNDARY.HTML_6741784=_=_=_--