Hello Marco,
Today i got qt5 working.

No patch applied, just add:

IMAGE_INSTALL_append = " qtbase-fonts " in addition to other packages in your 
.bb file
DISTRO_FEATURES_remove = "x11 wayland" in your local.conf.

With these two lines i got qt compiled and all examples working.
No other changes.


P.S. I used -platform eglfs as arguments to demo executables to have them 
running correctly ( cinematicexperience is a must for demos, try it! ) 

:-)

Hope it can help!

Ciao
Simone



> Il giorno 25/nov/2013, alle ore 10:55, Marco <koansoftw...@gmail.com> ha 
> scritto:
> 
> Il 24/11/2013 17:39, Otavio Salvador ha scritto:
>>> On Sun, Nov 24, 2013 at 2:13 PM, Marco <koansoftw...@gmail.com> wrote:
>>> Il 17/11/2013 20:53, Alfonso Tamés ha scritto:
>>> 
>>>> 
>>>> Using a wand board quad with the LCD display from Future Electronics, I am
>>>> building qt5 using the master branch by cloning meta-qt5 in the sources
>>>> directory, adding the directory in conf/bblayers.conf and adding this in 
>>>> the
>>>> conf/local.conf:
>>>> 
>>>> IMAGE_INSTALL_append = " qtbase qtbase-plugins qtbase-examples
>>>> cinematicexperience gstreamer nano cairo pango fontconfig freetype “
>>>> 
>>>> To successfully build qt5 I remove the cmake directory in recipes-devtools
>>>> and apply this patch http://patchwork.openembedded.org/patch/60673/ to Qt5
>>>> (I know its not the best way and Otavio doesn’t like it :P ). I am also
>>>> putting USE_X11 = “no” in
>>>> sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
>>>> so framebuffer gpu drivers get included.
>>> 
>>> 
>>> 
>>> I'm trying to follow your path with imx6qsabresd but the build fails.
>>> 
>>> Build Configuration:
>>> BB_VERSION        = "1.20.0"
>>> BUILD_SYS         = "x86_64-linux"
>>> NATIVELSBSTRING   = "Ubuntu-12.04"
>>> TARGET_SYS        = "arm-poky-linux-gnueabi"
>>> MACHINE           = "imx6qsabresd"
>>> DISTRO            = "poky"
>>> DISTRO_VERSION    = "1.5"
>>> TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
>>> TARGET_FPU        = "vfp-neon"
>>> meta
>>> meta-yocto
>>> meta-yocto-bsp    = "dora:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
>>> meta-oe           = "dora:513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
>>> meta-fsl-arm      = "dora:5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
>>> meta-qt5          = "dora:cefaba69a785c5221463f0eb496b749d5ddf8a5a"
>>> meta-kaeilos-fsl  = "dora:75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
>>> 
>>> 
>>> WARNING:
>>> /home/koan/yocto/poky/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/run.do_compile.30368:1
>>> exit 1 from
>>> |   exit 1
>>> | ERROR: Function failed: do_compile (log file is located at
>>> /home/koan/yocto/poky/build/tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/log.do_compile.30368)
>>> ERROR: Task 344
>>> (/home/koan/yocto/poky/meta-qt5/recipes-qt/qt5/qtbase_5.1.1.bb, do_compile)
>>> failed with exit code '1'
>>> 
>>> Are you using the same branches?
>>> Any clues?
>> 
>> Add:
>> 
>> DISTRO_FEATURES_remove = "x11 wayland"
>> 
>> in your local.conf
> 
> 
> Hi Otavio,
> using the patch pointed out by Alfonso Tamés I completed the bitbake 
> successfully, then I created my SDcard.
> 
> Unfortunately now I have a lot of problems on the target launching examples.
> - missing /usr/lib/fonts (copied manually)
> - some missing symbolic links to libraries (created manually)
> - errors launching examples (see below)
> 
> root@imx6qsabresd:~# /usr/share/qt5/examples/gui/analogclock/analogclock
> QXcbConnection: Could not connect to display
> Aborted
> 
> root@imx6qsabresd:~# /usr/share/qt5/examples/gui/analogclock/analogclock 
> -platform eglfs
> Segmentation fault
> 
> root@imx6qsabresd:~# /usr/share/qt5/examples/gui/analogclock/analogclock 
> -platform minimal
> (nothing displayed)
> 
> 
> Any hint is greatly appreciated
> 
> -- 
> Marco
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to