[ITK-users] [ITK] Run ITK VTK and QT app

Andras Lasso lasso at queensu.ca
Thu Mar 10 11:35:29 EST 2016


On Windows you just need to copy all the required DLLs into the same directory as your executable file is. 

Andras

-----Original Message-----
From: Community [mailto:community-bounces at itk.org] On Behalf Of Matt McCormick
Sent: Thursday, March 10, 2016 11:17 AM
To: John Drescher <drescherjm at gmail.com>
Cc: insight-users <insight-users at itk.org>
Subject: Re: [ITK] [ITK-users] Run ITK VTK and QT app

Hello,

As mentioned, building ITK and VTK static helps.  To handle the Qt dynamic libraries (and ITK and VTK dynamic libraries), the CTKAppLauncher is a useful tool:

  http://www.commontk.org/index.php/Tools:_Application_launcher

This is used to allow your app to find its dynamic libraries when it starts up.

HTH,
Matt

On Thu, Mar 10, 2016 at 10:02 AM, John Drescher <drescherjm at gmail.com> wrote:
>> I have developed a new application using ITK, VTK and QT.
>> I would like to run it (.exe) using a PC without building and 
>> configuring ITK, VTK and QT.
>> Any suggestion?
>>
>
> I have my application's CMakeLists.txt generate an NSIS based 
> installer for each application I have developed. To simplify things I 
> for the most part limit the usage of shared libraries so I have ITK 
> and VTK compiled as static libraries. Qt is still built dynamically. I 
> package that along with the visual studio runtime in my installer.
>
> John
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
_______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community


More information about the Insight-users mailing list