[Insight-users] QT opensource

Sylvain Jaume sylvain.jaume at kitware.com
Fri Mar 30 10:57:46 EST 2007


Hi Sam,

You can set the path to shared libs using CMake. The tutorial might show 
you how to link with static libs, but I guess you could link with shared 
libs. Someone who followed this tutorial could share her/his experience?

Sylvain

S Sam wrote:
> Dear Sylvain;
>  
> I very appreciate your prompt reply.
>  
> I also compiled the code in shared (actually it is default) mode, 
> generating .dll and .a libraries. But when I read the tutorial of using 
> QT with ITK (getting started IV.pdf), several .lib libraries are 
> supposed to be input in configuration with cmake. Can I input the .DLL 
> libraries instead of .lib ones?
>  
> Moreover, from that tutorial file, I found a library named 
> "qt-mt220.lib" is required. I searched all the directories of QT, can 
> not find such library even in .a or .dll extension. Does it mean I 
> compiled the code wrong?
>  
> I sincerely appreciate your kind help on these questions.
>  
> Best
> Sam
> 
>  
> On 3/30/07, *Sylvain Jaume* <sylvain.jaume at kitware.com 
> <mailto:sylvain.jaume at kitware.com>> wrote:
> 
>     You can build QT OpenSource with VisualStudio:
>     http://www.paraview.org/Wiki/Obtaining_GPL'ed_Qt_for_Windows
>     <http://www.paraview.org/Wiki/Obtaining_GPL'ed_Qt_for_Windows>
> 
>     To get shared libs: ./configure -shared
> 
>     Sylvain
> 
>     S Sam wrote:
>      > Dear ITK developers and users;
>      >
>      > I downloaded QT4.2.3 opensource version and compiled using MinGW
>      > (Opensource version of QT 4.2.3 is only supported under MinGW) under
>      > Windows to generate libraries. I just found all the libraries are in
>      > extension .a. It is supposed the static library extension under UNIX
>      > system. So my first question is that can these libraries be used in
>      > windows the same as .lib ones? if not, does it mean I have to
>     purchase a
>      > commercial license of QT or use its previous version that can
>     generate
>      > .lib library?
>      >
>      > Your kind help is greatly appreciated.
>      >
>      > Regards
>      > Sam
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Insight-users mailing list
>      > Insight-users at itk.org <mailto:Insight-users at itk.org>
>      > http://www.itk.org/mailman/listinfo/insight-users
> 
> 


More information about the Insight-users mailing list