Joined: 07 Nov 2011
|Posted: Wed Nov 09, 2011 1:54 pm Post subject:
Early patch: cmake -DOSG_WINDOWING_SYSTEM=Qt
Reading through the source code of osgQt, I realized that it should be possible to compile OSG using Qt as the primary GUI toolkit and run all the examples using Qt without modifying them.
In reality, this doesn't actually work.
However, I started on patching up osgQt to be able to do this.
My patches live in the "WindowSystemQt" branch of my github clone:
Note that you need to manually link with the osgQt library for the window system interface to be registered. This could perhaps be dealt with in a smarter way, making osgViewer link with osgQt in this case.
Again, this is far from perfect, and probably buggy as hell, but it's a beginning improvement over how it works today.
Whenever it's more stable, it could be merged into the OSG trunk.
PS. I wish github pull requests could be accepted as patch submissions.
Post generated by Mail2Forum