OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osgQt failed in QT 5.10.1 + osg 3.6


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [3rdparty]
View previous topic :: View next topic  
Author Message
feelapi
Newbie


Joined: 07 May 2018
Posts: 3

PostPosted: Fri May 11, 2018 12:31 pm    Post subject:
osgQt failed in QT 5.10.1 + osg 3.6
Reply with quote

Hi,

Just tested this in windows 10 and vs 2015 64 bits. all the test osgt files are missing. please check the attached photo.


Thank you!

Cheers,
feelapi
Back to top
View user's profile Send private message
feelapi
Newbie


Joined: 07 May 2018
Posts: 3

PostPosted: Mon May 28, 2018 7:21 am    Post subject:
osgQt failed in QT 5.10.1 + osg 3.6
Reply with quote

Hi,

Just tested this in windows 10 and vs 2015 64 bits. all the test osgt files are missing. please check the attached photo.


Thank you!

Cheers,
feelapi

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73612#73612




Attachments:
http://forum.openscenegraph.org//files/qtosg_302.png




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12148

PostPosted: Mon May 28, 2018 8:49 am    Post subject:
osgQt failed in QT 5.10.1 + osg 3.6
Reply with quote

On 11 May 2018 at 13:32, Lu Zhang <> wrote:
Quote:
Hi,

Just tested this in windows 10 and vs 2015 64 bits. all the test osgt files are missing. please check the attached photo.

Have you downloaded OpenSceneGraph-Data and set OSG_FILE_PATH to it?

Was there any console output reporting issues with finding files?

Do the the standard osg examples like osgviewer work?

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
feelapi
Newbie


Joined: 07 May 2018
Posts: 3

PostPosted: Tue May 29, 2018 1:39 am    Post subject:
Re: osgQt failed in QT 5.10.1 + osg 3.6
Reply with quote

Thanks for your reply. After digging into my code, I fixed many bugs and now I can let it run in osgQT. However, there are many issues then I give up QT + osg.
Here I can share what I found.
1 if you do not know what's OpenGL 3, do not use it.
2 QT 5.10.1's QOpenGLWidget works in single thread mode.
3 flightgear provide a QWindow + osg solution, which could be in multiple thread mode.

the last issues I found is: how to setup the camera for the osgviewer::view,
if you use this code:
osg::Camera* newCamera = new osg::Camera();
view->setCamera(newCamera);
you will get a quark display result for testing files. the right code is:
osg::Camera* camera = view->getCamera();
camera->setxxxx();
view->setCamera(camera);


robertosfield wrote:
On 11 May 2018 at 13:32, Lu Zhang <> wrote:
Quote:
Hi,

Just tested this in windows 10 and vs 2015 64 bits. all the test osgt files are missing. please check the attached photo.

Have you downloaded OpenSceneGraph-Data and set OSG_FILE_PATH to it?

Was there any console output reporting issues with finding files?

Do the the standard osg examples like osgviewer work?

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [3rdparty] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts osgQt include files Michael W. Hall General 142 Sat Aug 11, 2018 9:14 pm View latest post
No new posts osgQt + OSG 3.6.2 Status DeadParrot General 28 Sat Jul 14, 2018 4:38 am View latest post
No new posts osgQt scenegraph flickering with mult... Meldryt General 1 Tue May 29, 2018 3:04 pm View latest post
No new posts Database pager and failed loading of ... hartwigw General 3 Sun Mar 04, 2018 5:51 pm View latest post
No new posts Database pager and failed loading of ... hartwigw Submission 2 Sun Mar 04, 2018 5:42 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP