Guest
|
Posted: Fri Aug 29, 2014 7:42 am Post subject: Using OSG into a Qt widget |
|
|
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 |
|