On Saturday 19 Jun 2010 21:12:49 Magnus Kessler wrote:
> On Friday 18 Jun 2010 20:10:16 Maxim Gammer wrote:
> > error:
> > Scanning dependencies of target osgQt
> > [ 98%] Building CXX object
> > src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.o [ 98%] Building CXX
> > object src/osgQt/CMakeFiles/osgQt.dir/QGraphicsViewAdapter.o [ 98%]
> > Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QWidgetImage.o [ 98%]
> > Building CXX object
> > src/osgQt/CMakeFiles/osgQt.dir/__/__/include/osgQt/moc_QGraphicsViewAdapt
> > er .o
> > /home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/incl
> > u de/osgQt/moc_QGraphicsViewAdapter.cxx:11:2: error: #error "The header
> > file 'QGraphicsViewAdapter' doesn't include <QObject>."
> 
> The attached file fixes the build error reported by Maxim Gammer. In
> out-of- source build moc has difficulties with header files that do not
> end in ".h". Force moc to include any files passed to it.
> 
> Regards,
> 
> Magnus

The file attached to the previous message is of course for 
src/osgQt/CMakeLists.txt and not as labelled mistakenly src/osg/CMakeLists.txt

Magnus
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to