Runtime error with qt5.7
Hi all,
I'm using a i-MX6DL board.
Using the meta-qt5, branch "morty", when I try to execute the cinematicexperience I have the following error:
# export DISPLAY=:0.0
# export QT_DEBUG_PLUGINS=1
# cd /usr/share/cinematicexperience-1.0
# ./Qt5_CinematicExperience -platform xcb
...
...
...
...
Got keys from plugin meta data ("webp")QFactoryLoader::QFactoryLoader() checking directory path "/usr/share/cinematicexperience-1.0/imageformats" ...
loaded library "/usr/lib/qt5/plugins/imageformats/libqdds.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqgif.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqicns.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqico.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqjpeg.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqsvg.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqtga.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqtiff.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqwbmp.so"
loaded library "/usr/lib/qt5/plugins/imageformats/libqwebp.so"
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profileQFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt5/plugins/accessiblebridge" ...QFactoryLoader::QFactoryLoader() checking directory path "/usr/share/cinematicexperience-1.0/accessiblebridge" ...
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted
#
Any idea?
Thanks,
Flavio
Flavio Suligoi
Software Engineer - Firmware
ASEM S.p.A.
Via Buia, 4, 33011 Artegna (UD) Italia
Tel +39 0432 967 477
Fax +39 0432 967 467
Email: [email protected]<mailto:[email protected]>
Internet: www.asem.it<https://webmail.asem.it/owa/redir.aspx?C=a-a2Td948Uebb2jLiaIQvpzVc2YeatEIIZa1ulJgnTNEZUdBP7YowxXvsufAL0bNRtCK6tS6e6g.&URL=http%3a%2f%2fwww.asem.it%2f>
Questo messaggio è equiparato a corrispondenza in busta chiusa. E' vietata la sua diffusione, distribuzione, riproduzione e l'uso delle informazioni contenute a chi non è destinatario; il responsabile è soggetto a conseguenze legali.Se avete ricevuto questo messaggio per errore, siete pregati di segnalarlo immediatamente al mittente e di distruggerlo (compresi i file eventualmente allegati) senza farne copia. This e-mail is confidential. If you are not the addressee or an authorized recipient of this message, any distribution, copying, publication or use of this information for any purpose is strictly prohibited.Please, notify the sender immediately by e-mail and then delete this message.
Quoted 6 lines · Flavio Suligoi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, optionsQFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted
You might want to check if you have enabled egl in PACKAGECONFIG for qtbase may be you need to enable opengl in DISTRO_FEATURES and/or set packageconfig for qtbase
Hi Raj,
I've already used in my image .bb recipe the parameter:
DISTRO_FEATURES += "x11 opengl"
to enable the "-opengl desktop" swith in qtbase_git.bb receipe, but It doesn't work, I always have this error.
Any other idea or other point where start to investigate? Or do you have a image recipe with x11 and the QT5.7 ?
Thanks,
Flavio
________________________________________
Da: [email protected] <[email protected]> per conto di Khem Raj <[email protected]>
Inviato: giovedì 22 dicembre 2016 07:00
A: [email protected]
Oggetto: Re: [oe] [OE][meta-qt5] Runtime error with qt5.7
Quoted 5 lines · Flavio Suligoi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, optionsQFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) Aborted
You might want to check if you have enabled egl in PACKAGECONFIG for qtbase may be you need to enable opengl in DISTRO_FEATURES and/or set packageconfig for qtbase
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 5 lines · Flavio Suligoi
Hi Raj,
I've already used in my image .bb recipe the parameter:
DISTRO_FEATURES+= "x11 opengl"
DISTRO_FEATURES is a global list, not per recipe/image...
Quoted 33 lines
to enable the "-opengl desktop" swith in qtbase_git.bb receipe, but It doesn't work, I always have this error.
Any other idea or other point where start to investigate? Or do you have a image recipe with x11 and the QT5.7 ?
Thanks,
Flavio
________________________________________
Da: [email protected] <[email protected]> per conto di Khem Raj <[email protected]>
Inviato: giovedì 22 dicembre 2016 07:00
A: [email protected]
Oggetto: Re: [oe] [OE][meta-qt5] Runtime error with qt5.7Quoted 5 lines · Flavio Suligoi
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, optionsQFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) AbortedYou might want to check if you have enabled egl in PACKAGECONFIG for qtbase may be you need to enable opengl in
DISTRO_FEATURESand/or set packageconfig for qtbase
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel