[Insight-users] Interfacing itk+vtk with visual studio

Dora Szasz dora.szasz at yahoo.com
Fri May 20 09:36:14 EDT 2011


John, 

Ok... I was able to follow the steps....but the hard question is: how I am using Qt? Is there any interface, or I have to use Visual Studio interface for this?
I have never worked with Qt, and a little bit with Visual Studio, if you can give me some detailed steps I will be very grateful. Give me an example of running a program if you can.

Sorry about pestering you, but I have tried all the combinations of integrating vtk and itk with an interface, and it is a little bit harder. Now, I have find someone who is working with Qt, is very helpful for me.

Thanks, John!


________________________________
From: John Drescher <drescherjm at gmail.com>
To: Dora Szasz <dora.szasz at yahoo.com>; Insight Users <insight-users at itk.org>
Sent: Friday, May 20, 2011 3:56 PM
Subject: Re: [Insight-users] Interfacing itk+vtk with visual studio

> And after this, where did you copy the extraction files in  Visual Studio?

I copied it to a location I build my libraries in. In this case for 64
bit Visual Studio 2008 it was

X:\64bit\VC.80\Libraries\Qt-4.7.3

However you can put these wherever you normally build your sources. I
organize it this way because I use more than 1 visual studio
compiler and I also use 32 and 64 bit. Remember that libraries from
one version of Visual Studio will generally be incompatible with
any other version of visual studio.

> And after the copying process, I must just type: configure
> -debug-and-release -platform win32-msvc2008 -no-webkit
> -opensource -fast?

You need to run that from a "Visual Studio command prompt" for your compiler.

After opening the visual studio command prompt you need to change
directory into the root folder that contains your Qt. For me that was

X:\64bit\VC.80\Libraries\Qt-4.7.3


John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110520/eba8e0ba/attachment.htm>


More information about the Insight-users mailing list