Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] about using qt3 to dislay a triangulation generated

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] about using qt3 to dislay a triangulation generated


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] about using qt3 to dislay a triangulation generated
  • Date: Sat, 20 Dec 2008 18:58:50 +0100
  • Organization: GeometryFactory

On Saturday 20 December 2008 17:46:32 Kwok Jasper wrote:
> Excuse me, may I ask something about using Qt3.2.1 Non-commercial with
> CGAL?
>
> I have installed Qt3.2.1 non-commercial and CGAL
> then, when I tried to complie the code in Miscosoft Visual C++ 2005, I get
> the following errorerror LNK2019: 無法解析的外部符號 "__declspec(dllimport) public:
> virtual __thiscall QApplication::~QApplication(void)"
> (__imp_??1QApplication@@UAE@XZ) 在函式 _main 中被參考 tr.obj


You need to recompile Qt3 non-commercial using Visual C++. The one you use is probably for MinGW (a sort of g++ compiler, for Windows), and that version is not binary-compatible with C++ code made by Visual C++. Unfortunately, Trolltech does not support the compilation of Qt3 non-commercial using Visual. You will need to find patches on the Internet.


Are you stuck with Qt3 ? The free version of Qt4 is quite easily compilable using Visual C++. Next release of CGAL, 3.4, has some demos that have been reworked with Qt4. The 2D Triangulation demo has been is now using Qt4. A beta version of CGAL-3.4 has been released yesterday. If you feel sufficiently adventurous to test a beta software, maybe you will be more successful with that new versions of CGAL and Qt


--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/





Archive powered by MHonArc 2.6.16.

Top of Page