Subject: CGAL users discussion list
List archive
- From: Randy Creasi <>
- To:
- Subject: Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo
- Date: Thu, 17 May 2012 10:45:40 -0400
If you're not used to using Qt, it can be confusing. Any file that has Q_OBJECT macro in class declaration should get MOC'ed by Qt's Meta Object Compiler. This the secret sauce that enables Qt's signals and slots and fancy introspection and dynamic properties. Anyhow, I have no experience with Qt Creator but with Visual Studio a trick I found is to comment out the Q_OBJECT macro, compile (you'll get some errors but that's ok) and then uncomment the Q_OBJECT macro and recompile. I've found this will jumpstart the MOC if it gets confused and isn't recognizing that it needs to moc a file.
On Thu, May 17, 2012 at 10:39 AM, Andreas Fabri <> wrote:
These files will be generated by the moc compiler of Qt.
andreas
On 17/05/2012 16:24, ayongwust_sjtu wrote:
Thank you, Laurent Rineau.
Another question is how can i get Scene_moc.cpp, Viewer_moc.cpp and
MainWindow_moc.cpp.
They are included in Polyheron_3.cpp.
But I can not find them under \demo\Polyhedron .
#ifndef USE_FORWARD_DECL
# include "Scene.cpp"
# include "Scene_item.cpp"
# include "Scene_moc.cpp"
# include "Viewer.cpp"
# include "Viewer_moc.cpp"
# include "MainWindow.cpp"
# include "MainWindow_moc.cpp"
#endif
-----
-------------
Regards,
Xianyong Liu
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/where-is-QT-SCRIPT-LIB-defined-in-ployhedron-demo-tp4642922p4643037.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- Re: [cgal-discuss] where is QT_SCRIPT_LIB defined in ployhedron demo, Laurent Rineau (GeometryFactory), 05/17/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, Andreas Fabri, 05/17/2012
- Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, Randy Creasi, 05/17/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, Andreas Fabri, 05/17/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/18/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/18/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/18/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/18/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, Randy Creasi, 05/17/2012
- Re: [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, Andreas Fabri, 05/17/2012
- [cgal-discuss] Re: where is QT_SCRIPT_LIB defined in ployhedron demo, ayongwust_sjtu, 05/17/2012
- Re: [cgal-discuss] where is QT_SCRIPT_LIB defined in ployhedron demo, Laurent Rineau (GeometryFactory), 05/17/2012
Archive powered by MHonArc 2.6.16.