Skip to Content.
Sympa Menu

cgal-discuss - Re: CGAL and QT

Subject: CGAL users discussion list

List archive

Re: CGAL and QT


Chronological Thread 
  • From: Laurent Rineau <>
  • To: Maik Schulze <>
  • Cc:
  • Subject: Re: CGAL and QT
  • Date: Tue, 9 Oct 2007 18:54:40 +0200
  • Organization: Inria, Sophia Antipolis, FRANCE

On Tuesday 09 October 2007 18:13:39 Maik Schulze wrote:
> I am working with the Microsoft Visual Studio 2005 Professional IDE
> under Windows XP. My CGAL version is 3.3.1. All console applications are
> compiling fine. Yet, I am not even sure which QT version is supposed to
> be used with CGAL.
>
> As Trolltech does not seem to offer QT 3 anymore (at least not for
> free)

Trolltech has never offered Qt 3 for Windows (for free). Only Qt-2.3 had a
free port for Windows.

> , I looked for Q...Windows Edition, which offers an independent
> implementation at http://qtwin.sourceforge.net/qt3-win32/
> I tried to compile the CGAL demos against several versions available at
> the sourceforge website. Yet, none works. After converting the .vcproj
> to VC8 and changing some minor properties of the project, I get the
> following linker errors:
>
> 1>CGALQt-vc80-mt-gd.lib(Qt_widget.obj) : error LNK2005: "public:
> __thiscall QString::~QString(void)"
> (??1QString@@QAE@XZ)
> already defined
> in qt-mt3.lib(qt-mt3.dll)

You need to recompile the CGALQt library, using "Q..3/Windows Free Edition".
The CGALQt library shipped with the CGAL installer has been compiled
using "Qt-3/Windows Commercial Edition", and is not binary compatible with
your version of Qt-3.

If you do not want to recompile CGALQt, you will need to buy a Qt-3
commercial
edition (and a CGAL commercial license too).

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)




Archive powered by MHonArc 2.6.16.

Top of Page