[osg-users] osgQtWidget in dynamic library

蔡少波 beijihuohu at 126.com
Thu Dec 5 01:00:42 PST 2019




Hi Robert,
     I am building application with Qt 5.12.6 version and openscenegraph 3.6.2 version,but found that  the osg widget for qt work well in stand alone application(exe for example) and can't be loaded in 
dynamic library, that will increase the difficulty for plugin framework.
    Is there a solution for this problem?
At 2019-12-04 23:16:45, "Robert Osfield" <robert.osfield at gmail.com> wrote:

Hi David,



On Wed, 4 Dec 2019 at 14:50, Heitbrink, David A <david-heitbrink at uiowa.edu> wrote:

I am doing a setCompileOnNextDraw on each render for each camera , (I typically only have 1) loading my scene.



CompileOnNextDraw is a feature that is meant to be used sparingly such as on start up when you are first pre compiling all new GL objects to prevent incremental compiles from breaking frame later in the app run.


First thing you should do is remove that call and see what happens.


Do you have an idea why this line was added? 



Robert.

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20191205/05854f07/attachment.html>


More information about the osg-users mailing list