Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6
- Date: Thu, 03 Sep 2009 11:56:18 +0200
陳 柏宏 a écrit :
Hi,
I am having difficulty compiling CGAL projects with qt4 using Mac OS 10.6
I get the error
/Library/Frameworks/QtGui.framework/Headers/qregion.h: In member function ‘OpaqueRgnHandle* QRegion::handle(bool) const’:
/Library/Frameworks/QtGui.framework/Headers/qregion.h:158: error: ‘toQDRgn’ was not declared in this scope
Searching online yielded a solution that involved adding a
CONFIG += x86
to the .pro file
CGAL uses cmake though. Is there a way to do the same thing in the CMakeLists.txt??
Try do add -DCGAL_CXX_FLAGS=x86 to cmake arguments (or define
CGAL_CXX_FLAGS=x86 in
cmake-gui).
--
Laurent Saboret
INRIA Sophia-Antipolis
- [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Saboret, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/04/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/04/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/04/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, 陳 柏宏, 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Rineau (GeometryFactory), 09/03/2009
- Re: [cgal-discuss] QT4 compilation with Mac OS X 10.6, Laurent Saboret, 09/03/2009
Archive powered by MHonArc 2.6.16.