[osg-users] Migration from OSG 3.1.5 to 3.4.0 / Qt 4 to Qt 5

Konstantin Podsvirov konstantin at podsvirov.pro
Tue Dec 15 02:11:35 PST 2015


Hello Robert and Emmanuel!

I tested this on Windows (3.4.0 OSG, Qt 5.5.1, MSVC2013 32bit).
Screenshot attached in the attachment.

I used insulator dad-0.3.0-windows-vc12x86-testing.exe from my project:

http://dad.podsvirov.pro

What I did:

a) Set the module OpenSceneGraph
b) Launched a console in the folder "bin"
c) Set the environment variable OSG_FILE_PATH (you should be in osg-data)
d) Run "../share/OpenSceneGraph/bin/osgviewerQt.exe

At startup, I got two white Windows, but after small changes in the window using
of the mouse pointer is displayed normally.

Recently I conducted an experiment with OSG 3.5.1 and it worked immediately.

(Soon will upload OSG 3.5.1 installer dad-0.3.0-windows-vc12x64-unstable.exe)

I hope my comments are useful.

Additionally I will say that as part of their project development osgQtQuick (https://github.com/podsvirov/osgqtquick)
OSG and Ot Quick (Qt5) works fine.

15.12.2015, 12:16, "Robert Osfield" <robert.osfield at gmail.com>:
> On 15 January 2015 at 07:47, Emmanuel Pot <emmanuel.pot at bentley.com> wrote:
>> I got an email from the osg users mailing list, but I cannot answer to it :-(.
>> I was told that the osgviewerqt was working fine on someone else machine. On my side, I get a black background when pressing s, whereas it was transparent before. I have no idea what to do :-(.
>
> Sorry to hear Qt/OSG experience has been a bit rough. Qt has been a bit of moving target and generally awkward to work with as it does some odd things with event handling, threading and state. The exact interaction of all of this has changed over time with newer versions of Qt breaking how things used to work, and then fixes to get things working again break how it works with older versions.
>
> Personally I am not a Qt user so don't have the expertise for tracking these changes and recommending fixes, it is possible to get it working as there are plenty of OSG/Qt users out there. I'm guessing there are mostly just getting on with their work and haven't spotted your request for assistance, or perhaps they don't know enough about the specifics of the combination of OSG/Qt you are using to comment.
>
> Robert.

--
Regards,
Konstantin Podsvirov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg340vc12x86qt551viewerQt.png
Type: image/png
Size: 126485 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151215/e4fc26a8/attachment-0003.png>


More information about the osg-users mailing list