All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dale Tyler" <colos2a@tylerent.com>
To: "Daiane Angolini" <daiane.list@gmail.com>,
	"Otavio Salvador" <otavio@ossystems.com.br>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	"freescale11@tylerent.com" <freescale11@tylerent.com>
Subject: Re: Yocto 1.6 + QT5.3.2 on i.MX6
Date: Wed, 17 Jun 2015 09:44:58 -0700	[thread overview]
Message-ID: <201506171644.t5HGiwmf010605@ice.tylerent.com> (raw)
In-Reply-To: <CAP9ODKocbQbzhMhKesPJvePVUTDAcwDT3tB=feckwX44-jtq6A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5239 bytes --]

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




[-- Attachment #2: Type: text/html, Size: 7068 bytes --]

  reply	other threads:[~2015-06-17 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 19:31 Yocto 1.6 + QT5.3.2 on i.MX6 Dale Tyler
2015-06-15 10:42 ` Daiane Angolini
2015-06-15 12:25   ` Otavio Salvador
2015-06-17 16:44     ` Dale Tyler [this message]
2015-06-17 16:58       ` Otavio Salvador
2015-08-18 17:55         ` Caio
  -- strict thread matches above, loose matches on Subject: below --
2015-06-12  1:27 Dale Tyler
2015-06-12 13:10 ` Daiane Angolini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201506171644.t5HGiwmf010605@ice.tylerent.com \
    --to=colos2a@tylerent.com \
    --cc=daiane.list@gmail.com \
    --cc=freescale11@tylerent.com \
    --cc=mailcoll@tylerent.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.