I had the same issue previously due to not having libx11-xcb-dev installed 
which caused configure to disable Xlib and thus GLX support in the xcb plug-in. 
That's when I added the warning you see now.

Did you do make clean for the xcb plug-in after installing all the necessary 
xcb packages and re-running configure? If there was a previous build in there 
then there's a good chance qxcbintegration.cpp and others are not rebuilt 
meaning you still have a plug-in with XCB_USE_XLIB and XCB_USE_GLX disabled.

Regards,
Laszlo

________________________________________
From: [email protected] 
[[email protected]] on behalf of Dubovik 
Sergiy (Nokia-MP/Helsinki)
Sent: Tuesday, October 18, 2011 1:12 PM
To: Alpert Alan (Nokia-MP-Qt/Brisbane); [email protected]
Subject: Re: [Qt-qml] qml on scenegraph

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)"
<[email protected]> 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" <[email protected]> wrote:
>
>>On Fri, 14 Oct 2011 22:28:30 ext [email protected] 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
>

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to