OpenSceneGraph icon indicating copy to clipboard operation
OpenSceneGraph copied to clipboard

Question: OSG have only running in SingleThreaded mode in Qt?

Open ChenKe404 opened this issue 2 years ago • 1 comments

if 'yes', it's mean I can't use MultiThreaded mode? Is 'yes' for both Qt5 and Qt6?

ChenKe404 avatar Aug 03 '23 06:08 ChenKe404

i think your answer is 'yes'. OSG runs in single-threaded mode with Qt and you can't set the multi-threaded mode in OSG (it causes run-time or complie-time error in multi-threaded mode). in our project we had the issue that OSG only runs in single-threaded mode in Qt and our solution was to separate Qt and OSG application in two processes and make the connection between them with zmq. but it caused a lot of extra work to set connection between them properly.

CapTainHbb avatar Aug 08 '23 08:08 CapTainHbb