[vtkusers] VTK and QT on Windows2000

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed Apr 17 10:37:41 EDT 2002


While there's a thread going on QT - just a quick question: What are the
pros and cons of QT v's FLTK for building VTK apps?

I notice ITK uses FLTK but there seems to be more noise on this list about
QT...

Thanks,
Goodwin
University College Dublin

----- Original Message -----
From: "Danny Allen" <philip.allen at man.ac.uk>
To: <vtkusers at public.kitware.com>
Sent: Wednesday, April 17, 2002 2:59 PM
Subject: [vtkusers] VTK and QT on Windows2000


>
>
> Thanks to Dave Pont  and Sagi Schein for your suggestions - I did manage
> to fix the problem in the end if anyone is interested:
>
> The problem was simply a conflict between single and multi threaded
> libraries. I'd built VTKQT using tmake with the '-t vclib' option to
> create a VisualC++ project file (only for VC++5, but VC++6 converts it
> for you). The resulting library is single threaded, so I had to go to
> the Project Settings dialog and under the C/C++ tab in 'Code Generation'
> change use runtime library to 'Debug Multi Threaded DLL'.
>
> I did also try editing the VTK.pro file used by tmake to generate the
> .dsp file to include a multi threaded option, but the resulting .dsp
> file crashed Developer studio - no idea why but the above alternative
> seems to work.
>
>
> -----Original Message-----
> From: vtkusers-admin at public.kitware.com
> [mailto:vtkusers-admin at public.kitware.com] On Behalf Of Danny Allen
> Sent: Monday, April 15, 2002 7:55 PM
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] VTK and QT on Windows2000
>
>
>
> Is there a way of integrating VTK and QT on Windows 2000 ? I've tried
> using VTKQT by Matthias Koenig but I can't get it to work on my system.
> I can successfully build VTK, QT, and VTKQT on my machine, and I can
> build applications using either VTK or QT. However, when I try and bring
>
> them altogether in an application that links to all three libraries I
> get link errors whose cause are beyond my meager programming skills.
> There basically seems to be some conflict between VTKQT.lib and
> msvcprtd.lib. Are there some compiler switches I need to tweak, or is
> there an alternative to VTKQT that I might have more luck with ?
>
> I'm using VTK4.0, QT2.3.0 and Visual C++6.0 Developer Studio.
>
> Thanks
>
> Danny Allen
> Imaging Science and Biomedical Engineering
> University of Manchester
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list