problem occurs while embedding osgEarth2.8 into qt5.7.1

classic Classic list List threaded Threaded
2 messages Options
S.W S.W
Reply | Threaded
Open this post in threaded view
|

problem occurs while embedding osgEarth2.8 into qt5.7.1

hi, do i have to set viewer->singleThreaded while embedding oe2.8 into qt5.7.1?
because when i use viewer->AutomaticSelection,the application crashes and information shows:


so i modify it and use singleThreaded, but new problem occurs when i close the application,the information shows:


i suspect if it's my codes are wrong, so i use the example osgearth_qt_simple to create an exe, and run it. but the result is the same, when i close the exe, it creashes and information shows like picture2.

i don't have a clue now.
examyes examyes
Reply | Threaded
Open this post in threaded view
|

Re: problem occurs while embedding osgEarth2.8 into qt5.7.1

This problem may be caused by double release some resource.

If you want more precisely answer, please show me the complete code.