Comments (1)
To cut a long story short: you can't.
OSG and Qt want to live in the main thread because this is the thread that has access to the openGL graphic context.
The only option is to make OSG's threading model work with Qt's one. Not an easy task
from osgqt.
Related Issues (20)
- osgViewer::CompositeViewer missing? HOT 4
- example of Render To Texture when using QOpenGLWidget
- Will Qt QML/Quick programming be supported after osgQT? HOT 1
- What's the problem I change OSGRenderer inheritance osgViewer: : CompositeViewer to modify? HOT 1
- OsgQOpenGLWidget will not start properly after it is placed in the QT layout and setContentsMargins is set.
- new osgQt version HOT 2
- osgviewerQt crashed when press key F HOT 1
- Compiling with Visual Studio 2019 (16.10.0)
- Why use OSGEarth on OSGQt to display the earth will be black screen when the system switch back to the use of Win10 dormant state?
- osgViewer::ScreenCaptureHandler not working with osgQt
- Why is the scene black when using AMD Radeon R5 240 ?
- How to resolve the application crash when OSG integrates Silverlining on OsgQT?
- Qt 6 support HOT 13
- Question on the pkg-config file and its Libs field.
- hellow,how to support other threadmodel,not SingleThreaded
- `setViewpoint` doesn't work
- osg3.6.5 mingw32 build osgQt osgqopenglwidget not declared HOT 3
- How to import osgQt into project via vcpkg + cmake? HOT 1
- qt modules and the new qt opengl interface
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osgqt.