[vtkusers] Qt + VTK application: build distribution

Najzero adrian.gabriel at 4plus.de
Thu Apr 5 03:43:25 EDT 2012


Hi Miguel,

I don't actually know if there are limitations speaking from a MAC OS side,
but you could just link the QT/VTK libraries as static.
http://en.wikipedia.org/wiki/Static_library

Then your resulting program might become bigger, but standalone.

You might wanna look at http://www.cmake.org/cmake/help/cmake2.6docs.html
and search for the "add_library" section.

I guess telling CMAKE that is build target is windows and it should link its
libraries static would suffice.

You could also use a msi-installer and let it handle the work for you (place
the dll into system if required)

Best Regards
Adrian

--
View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-application-build-distribution-tp5618562p5619737.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list