[Qt-qml] qml on scenegraph

Sergiy.Dubovik at nokia.com Sergiy.Dubovik at nokia.com
Tue Oct 18 12:12:08 CEST 2011


Checked out latest sources, which clarifies a bit segfault.
"Cannot create platform GL context, none of GLX, EGL, DRI2 is enabled".
It's great that now we have those plugins for ogl context because its
possible to compile qt which won't be able to run any of the qml apps.
Is there a way to make it's working somehow? I read README and installed
all possible xcb libs, ./configure says that it configured limited xcb
support (dunno if thats enough to run qml). Anything else I should check?
Thanks.
Br,
Sergiy

On 10/18/11 9:21 AM, "Dubovik Sergiy (Nokia-MS/Helsinki)"
<sergiy.dubovik at nokia.com> wrote:

>Thanks. Looks like it's crashing at:
>QOpenGLContext::shareGroup() const
>S
>QOpenGLFunctions::initializeGLFunctions()
>QSGRendered::QSGRenderer(QSGContext*)
>S
>
>Do I need to compile it with some flags or something else?
>It's on ubuntu 11.04
>Br,
>Sergiy
>
>On 10/17/11 3:56 AM, "Alan Alpert" <alan.alpert at nokia.com> wrote:
>
>>On Fri, 14 Oct 2011 22:28:30 ext Sergiy.Dubovik at nokia.com wrote:
>>> Hei,
>>> 
>>> I'm trying to get scene graph working on desktop. It's fairly complex
>>>to
>>> compile qt5 on linux but i think i partially managed that. However I
>>> couldn't find code which could initialize declarative engine properly.
>>> Examples seems to be for qt4. Anyone got it working and could share the
>>> code? Thanks.
>>
>>qmlscene is currently the tool to launch scenegraph QML on desktop (not
>>qmlviewer, which is still Qt4). You can look at it and see how it
>>initializes 
>>the QSGView.
>>
>>tools/qmlscene/main.cpp
>>
>>-- 
>>Alan Alpert
>>Senior Engineer
>>Nokia, Qt Development Frameworks
>



More information about the Qt-qml mailing list