Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChenKe404 opened this issue Aug 3, 2023 · 1 comment
Open

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

ChenKe404 opened this issue Aug 3, 2023 · 1 comment

Comments

@ChenKe404
Copy link

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

@CapTainHbb
Copy link

CapTainHbb commented Aug 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants