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 

Using OSG into a Qt widget


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






PostPosted: Fri Aug 29, 2014 7:42 am    Post subject:
Using OSG into a Qt widget
Reply with quote

Hello,

I'm working on a project using OSG 3.2.0 and I want to add Qt 5.3 into this project. My gaol is to display OSG into a QWidget to use Qt GUI around OSG display.


I use CMAKE to generate OSG project files. I set CMAKE_PREFIX_PATH to "C:Qt5.3msvc2012_opengl". With a "Configure", I have Qt5 variables into "Ungrouped Entries" but into "Qt", all variables are not found. Is this normal ?


Moreover, when I try to compile osgQt, it's failed with an error :


Building Custom Rule C:/Lucem/src/22_openscenegraph-3.2.0/src/osgQt/CMakeLists.txt 2> CMake does not need to re-run because C:Lucemvs22_openscenegraph-3.2.0srcosgQtCMakeFilesgenerate.stamp is up-to-date. 2> Generating __/__/include/osgQt/moc_QGraphicsViewAdapter.cpp 2> moc: Too many input files specified: 'C:/Lucem/vs/22_openscenegraph-3.2.0/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cpp' 'C:/Lucem/src/22_openscenegraph-3.2.0/include/osgQt/QGraphicsViewAdapter' 2> Usage: C:Qt5.3msvc2012_openglbinmoc.exe [options] [header-file] [@option-file] 2> Qt Meta Object Compiler version 67 (Qt 5.3.1) // moc using description 2>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V110Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 1.


The problem seems to come from "moc", no ? Can you help me ? I don't know how to solve this problem. Maybe by editing osgQt/CMakeLists.txt ?


Thanks in advance,
Niko



This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by any virus transmitted by this e-mail.

------------------
Post generated by Mail2Forum
Back to top
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 RTF Widget cambienta General 1 Mon Jul 18, 2016 5:10 pm View latest post
No new posts Qt5 and OSG port issue: Shaking motio... lpkAtexa General 0 Fri May 27, 2016 8:55 pm View latest post
No new posts OSG 3.2.1 and Qt5 Widget integration CanOlcek General 11 Wed Jul 22, 2015 9:06 am View latest post
No new posts How to get keyboard message in OSGQT ... shypzms General 1 Thu Jan 16, 2014 9:44 pm View latest post
No new posts Undocking osg qt widget from tab window Twiddeldidu Plugins [osgPlugins] 1 Sun Aug 04, 2013 6:52 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