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 

Early patch: cmake -DOSG_WINDOWING_SYSTEM=Qt


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
kintel
Newbie


Joined: 07 Nov 2011
Posts: 13

PostPosted: Wed Nov 09, 2011 1:54 pm    Post subject:
Early patch: cmake -DOSG_WINDOWING_SYSTEM=Qt
Reply with quote

Hi all,

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:
https://github.com/kintel/osg/tree/WindowSystemQt

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.

Cheers,

-Marius

PS. I wish github pull requests could be accepted as patch submissions.



------------------
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 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 OSG static v 3.6.3 CMake 3.12.4 + Vis... Serathin Build system [build] 0 Fri Feb 01, 2019 8:19 am View latest post
No new posts CMake can't find libraries Rodrigo General [forum] 3 Wed Jan 02, 2019 12:25 am View latest post
No new posts OSG static v 3.6.3 CMake 3.12.4 + Vis... Serathin Build system [build] 0 Sun Nov 25, 2018 8:52 pm View latest post
No new posts Unable to run example (QTCreator, CMa... Nirodha General [forum] 1 Wed Oct 31, 2018 11:04 pm View latest post
No new posts Enable Qt5Widgets_DIR into cmake (GUI) Andrea74 General 2 Wed Sep 05, 2018 7:40 am 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