[meta-freescale] Qt5 using the DORA branch
Marco
koansoftware at gmail.com
Wed Dec 4 03:19:54 PST 2013
Hello
This is likely the continuation up of thread "[meta-freescale] Error
0x300b in Qt5 applications with EGLFS"
I am building qt5 using the DORA branch and meta-qt5.
These are my image settings:
IMAGE_INSTALL_append = "qtbase qtbase-fonts qtbase-plugins
qtbase-examples cinematicexperience gstreamer nano cairo pango
fontconfig freetype"
DISTRO_FEATURES_remove = "x11 wayland"
Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6dlsabresd"
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"
To successfully build qt5 I removed 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 completed the bitbake successfully, then I created my SDcard.
Unfortunately now I have errors launching examples (see below)
root at imx6qsabresd:~# /usr/share/qt5/examples/gui/analogclock/analogclock
QXcbConnection: Could not connect to display
Aborted
root at imx6qsabresd:~# /usr/share/qt5/examples/gui/analogclock/analogclock
-platform eglfs
evdevtouch: Using device /dev/input/event1
min X: 0 max X: 0
min Y: 0 max Y: 0
min pressure: 0 max pressure: 0
device name: max11801_ts
EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and
QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
Qt Warning: Could not find a location of the system's Compose files.
Consider setting the QTCOMPOSE environment variabl.
Protocol type A
Segmentation fault
What am I missing?
Any hint is greatly appreciated
Cheers
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
More information about the meta-freescale
mailing list