[Qt-qml] qml on scenegraph

Jedrzej Nowacki jedrzej.nowacki at nokia.com
Wed Oct 19 09:26:27 CEST 2011


On Tuesday 18. October 2011 12.12.08 ext Sergiy.Dubovik at nokia.com wrote:
> 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
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Hi,

  "limited xcb" means that you have not the newest xcb. Qt5 code depends on a 
feture that exist only in trunk of xcb and havn't been released yet. So do not 
worry, it is Ok

Cheers.
  Jędrek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111019/ffbe082d/attachment-0001.html 


More information about the Qt-qml mailing list