Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Incorrect #include in CGAL-3.6beta1 Polyhedron demo

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Incorrect #include in CGAL-3.6beta1 Polyhedron demo


Chronological Thread 
  • From: Daniel Sieger <>
  • To:
  • Subject: Re: [cgal-discuss] Incorrect #include in CGAL-3.6beta1 Polyhedron demo
  • Date: Tue, 2 Mar 2010 21:00:36 +0100

Hi,

On Mar 2, 2010, at 7:47 PM, Joachim Reichel wrote:
[snip]

> Don't you mean <QtCore/QtGlobal> here, unless you pass multiple -I
> statements for each QtFoo directory?

Uhm, nope, I meant <QtGlobal>. On OS X, I have to specify each
framework separately anyway.

[snip]
> BTW the Qt tutorials use <QtGlobal>, expecting to pass
> -I/usr/include/qt4/Qt or multiple -I/usr/include/qt4/QtFoo statements.

The only additional hint I found was an older discussion on one of the
Qt mailing lists [1]. To quote one of the Qt developers:

"Qt 4 has the old filenames with .h suffix for the traditionalists among us,
we do modern stl-like includes based on the classname (similar to <string>,
<list> , etc.), , and we do support what people with more modern tool chains
want to do: QtCore, QtGui, etc."

So, which header to include pretty much seems to be a matter of taste.
There is however no <Qt/qglobal.h> equivalent in the Qt binary distribution
for OS X.

Regards,
Daniel

[1] http://lists.trolltech.com/qt4-preview-feedback/2004-07/thread00184-0.html

--
Daniel Sieger
Computer Graphics & Geometry Processing Group
Bielefeld University
http://graphics.uni-bielefeld.de



Archive powered by MHonArc 2.6.16.

Top of Page