Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] question regarding qt version
- Date: Tue, 8 Feb 2011 19:39:05 +0100
- Organization: GeometryFactory
Le mardi 08 février 2011 18:50:39, DanielYan a écrit : > Hey guys! > > I'm new to CGAL. During the compilation, there was the following Error: > CGAL/Qt/GraphicsItem.h(38): Error: Undefined interface > issued by this code snippet: > #if QT_VERSION >= 0x040600 > Q_INTERFACES(QGraphicsItem) > Does this indicate that CGAL 3.7 can only work with QT whose version <= 4.6 > for now? (I only have QT4.7 on my laptop.) Is it OK to workaround this > error prompt and continue using CGAL3.7 with QT4.7? Or is it better to > install QT4.6? CGAL-3.7 can work and hsa been tested with Qt-3.7. The lines you quoted have been added especially to support Qt>=3.6. I do not know how you can have this error. We need more information. What were you trying to compile? With which compiler? Which compiler version? What is your operating system? Windows, Linux? Which version? Verify if your file <QtGui/qgraphicsitem.h> contains the following line: Q_DECLARE_INTERFACE(QGraphicsItem, "com.trolltech.Qt.QGraphicsItem") -- Laurent Rineau, PhD R&D Engineer at GeometryFactory http://www.geometryfactory.com/ Release Manager of the CGAL Project http://www.cgal.org/ |
- [cgal-discuss] question regarding qt version, DanielYan, 02/08/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/08/2011
- Re: [cgal-discuss] question regarding qt version, DanielYan, 02/09/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/09/2011
- Re: [cgal-discuss] question regarding qt version, DanielYan, 02/09/2011
- Re: [cgal-discuss] question regarding qt version, DanielYan, 02/09/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/09/2011
- Re: [cgal-discuss] question regarding qt version, DanielYan, 02/09/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/09/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/09/2011
- Re: [cgal-discuss] question regarding qt version, DanielYan, 02/09/2011
- Re: [cgal-discuss] question regarding qt version, Laurent Rineau (GeometryFactory), 02/08/2011
Archive powered by MHonArc 2.6.16.