Hello Konstantin,

Was the environment variable QSG_RENDER_LOOP provided in QT5.8? What's your working environment? For example, what QT version and OSG version is?  What's the type of osgDB.Loader mean?

 Thanks a lot.


Regards,

Glen

------------------ 原始邮件 ------------------

发件人:Konstantin Podsvirov "[email protected]"
时 间:2017/02/13 13:42:11 星期一
收件人:OpenSceneGraph Users "[email protected]"
抄送人:
主 题:[osg-users] Fwd:     how  to  solve 
        QT5  multi-thread  problem



Hello, Glen.

8:07, 13 February 2017 г., "来恩" <[email protected]>:

Hello, Konstantin: Thanks you for your response. I noticed that the project you mentioned was done with QT5. But there is a multi-thread problem when osg works well with QT5. My application really needs multi-thread functionality the load and unload data continously. Do you have osgqtquick project using QT4? Regards, Glen

Project osgQtQuick now based on Qt5. The Qt4 not supported.

Threaded rendering now supported. You can set environment variable  QSG_RENDER_LOOP  to the value of "basic", "windows" or "threaded" also.

For asynchronous loading, you can use type osgDB.Loader.

------------------ 原始邮件 ------------------



发件人:Konstantin Podsvirov "[email protected]"

时 间:2017/02/11 18:55:06 星期六

收件人:osg-users "[email protected]"

抄送人:

主 题:Re: [osg-users] how to solve QT5 multi-thread problem



Hello.


13:09, 11 February 2017 г., "来恩" <[email protected]>:










Hi All,




Now I use QT4.8.7 as my application's GUI framework(it seems that there is no other better choice ), it works well with OSG. My users want me to upgrade my GUI, they said the GUI is too old and obsolete, so I plan to use QML technology to do this task. But how to embed QGLWidget into qml, i searched the solution on the internet, all of which is taken with QT5. But I knew there is some problem with multi-thread model when integrating OSG into QT5. So I raise this question, hope to see your replies.








Thank you in advance.  




Glen








[email protected] 


http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org









_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



Have you tried the project osgQtQuick?











--


Regards,


Konstantin Podsvirov


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to