thread ccglwindow error

Any question about the main GUI application (frontend)
Yeyan
Posts: 7
Joined: Wed Jul 27, 2016 6:58 am

thread ccglwindow error

Postby Yeyan » Sat Mar 11, 2017 8:55 am

Hello:

in the version 2.6, ccglwindow has macro THREADED_GL_WIDGET, it likes Threaded GL rendering, but when i run it, it errored at "setContext(glContext) " in "initialize()" like follow:
ASSERT failure in QCoreApplication::sendEvent: "Cannot send events to objects owned by a different thread. Current thread c0a528. Receiver '' (of type 'CCGLWindow') was created in thread c76850"

how can i use the thread to render?

thank you!

daniel
Site Admin
Posts: 3513
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: thread ccglwindow error

Postby daniel » Sat Mar 11, 2017 2:45 pm

Well, it was just for a test (I'm not sure it even worked) and I never had the time to finish it. Especially since I believe Qt changed a lots of things by then and its probably deprecated.

You should use the latest version of CC if possible (2.9) and also look at Qt's documentation regarding threaded rendering (especially with QOffscreenSurface - http://doc.qt.io/qt-5/qoffscreensurface.html)
Daniel, CloudCompare admin

Yeyan
Posts: 7
Joined: Wed Jul 27, 2016 6:58 am

Re: thread ccglwindow error

Postby Yeyan » Mon Mar 13, 2017 2:57 am

OK,thank you! I'll try it!


Return to “CloudCompare”

Who is online

Users browsing this forum: No registered users and 2 guests