All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Error 0x300b in Qt5 applications with EGLFS
@ 2013-11-27  7:02 Alfonso Tamés
  2013-11-27  8:35 ` Eric Bénard
  0 siblings, 1 reply; 16+ messages in thread
From: Alfonso Tamés @ 2013-11-27  7:02 UTC (permalink / raw)
  To: meta-freescale

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


Hello Simone,

This is great news! Can you post your complete local.conf and bblayers.conf files?

I can’t believe that in the end it was so easy.

Cheers!

Alfonso

> 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


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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Error 0x300b in Qt5 applications with  EGLFS
@ 2013-11-25  6:57 Alfonso Tamés
  0 siblings, 0 replies; 16+ messages in thread
From: Alfonso Tamés @ 2013-11-25  6:57 UTC (permalink / raw)
  To: koansoftware; +Cc: meta-freescale


Marco,

Can you run bitbake with the -v switch so we can see exactly what’s the error.

Regards,

Alfonso

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Error 0x300b in Qt5 applications with EGLFS
@ 2013-11-17 19:53 Alfonso Tamés
  2013-11-18  8:52 ` Eric Bénard
  2013-11-24 16:13 ` Marco
  0 siblings, 2 replies; 16+ messages in thread
From: Alfonso Tamés @ 2013-11-17 19:53 UTC (permalink / raw)
  To: meta-freescale


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?


Thanks,

Alfonso






* In order to run the glcubes demo in i.mx6 the call to eglCreateWindowSurface must be modified this way:

EGLNativeDisplayType natdisp = fbGetDisplayByIndex(0);
EGLNativeWindowType natwindow = fbCreateWindow(natdisp,0,0,0,0);
eglsurface = eglCreateWindowSurface (egldisplay, eglconfig, natwindow, NULL);






^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-11-27  8:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-27  7:02 Error 0x300b in Qt5 applications with EGLFS Alfonso Tamés
2013-11-27  8:35 ` Eric Bénard
  -- strict thread matches above, loose matches on Subject: below --
2013-11-25  6:57 Alfonso Tamés
2013-11-17 19:53 Alfonso Tamés
2013-11-18  8:52 ` Eric Bénard
     [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

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.