All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: "Alfonso Tamés" <alfonso@mantic.mx>
Cc: meta-freescale@yoctoproject.org
Subject: Re: Error 0x300b in Qt5 applications with EGLFS
Date: Mon, 18 Nov 2013 09:52:45 +0100	[thread overview]
Message-ID: <20131118095245.3b06d840@e6520eb> (raw)
In-Reply-To: <4B5BCD2B-9B72-4FB2-9164-D65CA62C79A4@mantic.mx>

Hi,

Le Sun, 17 Nov 2013 13:53:52 -0600,
Alfonso Tamés <alfonso@mantic.mx> a écrit :

> 
> 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 boot Poky (it boots Linux-3.0.35-4.0.0-wandboard+gd3) and test the gnu drivers using the tiger demo from vivante and a slightly modified* glcubes demo that works on i.mx6 (some or all tutorials in /opt/viv_samples/vdk do not work in master branch).
> 
> When running a Qt5 application with -platform eglfs this error occurs:
> 
> #./hellogl_es2 -platform eglfs          
> evdevtouch: Using device /dev/input/event0                                                   
> min X: 0 max X: 0
> min Y: 0 max Y: 0
> min pressure: 0 max pressure: 255
> device name: prism_st
> 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 variable.
> EGL Error : Could not create the egl surface: error = 0x300b
> 
> Aborted
> 
> 
> I even built Qt5.2 inside the wand board but the examples throw the same error.
> 
> Has anyone managed to get Qt5 running without X11?
> 
yes just before dora was released.
Thas was with oe-core + meta-oe + meta-fsl-arm and x11 removed from the
DISTRO FLAGS and opengl added to DISTRO FLAGS.

Eric


  reply	other threads:[~2013-11-18  8:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-17 19:53 Error 0x300b in Qt5 applications with EGLFS Alfonso Tamés
2013-11-18  8:52 ` Eric Bénard [this message]
     [not found]   ` <FA5FEBDC-46E5-4440-9FB6-93B9035396B7@mantic.mx>
2013-11-18  9:26     ` Eric Bénard
     [not found]       ` <C7455834-9BB8-4061-B214-2668A428B38C@mantic.mx>
2013-11-18  9:59         ` Alfonso Tamés
2013-11-21  0:34           ` Sébastien Taylor
2013-11-21  8:07             ` Eric Bénard
2013-11-21 22:14               ` Sébastien Taylor
2013-11-24 16:13 ` Marco
2013-11-24 16:39   ` Otavio Salvador
2013-11-25  9:55     ` Marco
2013-11-25 19:36       ` Sébastien Taylor
2013-11-26 20:16       ` Simone
2013-11-26 21:08         ` Marco
  -- strict thread matches above, loose matches on Subject: below --
2013-11-25  6:57 Alfonso Tamés
2013-11-27  7:02 Alfonso Tamés
2013-11-27  8:35 ` Eric Bénard

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=20131118095245.3b06d840@e6520eb \
    --to=eric@eukrea.com \
    --cc=alfonso@mantic.mx \
    --cc=meta-freescale@yoctoproject.org \
    /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.