[vtkusers] VTK and QT Projects (QVTKWidget.h)

Alex Southern mrapsouthern at gmail.com
Mon Aug 2 13:04:48 EDT 2010


Hi John,

I dont know how to do that with the cmakelists.txt file would you be 
able to give me a few pointers? My current cmakelists.txt file was in my 
previous post.

Thanks
Alex

On 02/08/2010 19:09, John Drescher wrote:
>> I did build it with BUILD_SHARED_LIBS on. However if I turn this off and
>> solve my problem, what exactly  have I turned off? i.e. what is the purpose
>> of BUILD_SHARED_LIBS anyone??
>>
>>      
> To build vtk .dlls instead of static libraries. Either option works is
> you setup your build procedure correctly. For .dlls there is more work
> because you need to have the .dlls in your path or the same folder as
> your executable. Also since the .dlls have the same name in debug,
> release or other configuration you must ensure that only the correct
> version is in your path for the particular configuration you are
> running. The simplest way to achieve this is to put a custom build
> step in your application CMakeLists.txt file that copies each
> configuration's dlls to the same folder as the executable for that
> configuration.
>
> John
>    




More information about the vtkusers mailing list