[CMake] qt standalone project : static link or dll copy (and how to do it?)

Mehdi Rabah mehdi.rabah at gmail.com
Thu Sep 25 06:10:56 EDT 2008


Hi,
I need my qt project to be standalone when installing (cpack is taking care
of the packaging). Can you tell me how to make a static link or how to copy
the Qt dll? I'm using  FintQt4.

I tried to set the QT_CONFIG (found in FindQt4) to "static", it doesn't seem
to do what I expected.I also tried installing $QT_LIBRARIES but it seem this
variable contain directory paths, not dll paths.

Any idea? Thanks in advance,
--
Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080925/914bcba0/attachment.htm>


More information about the CMake mailing list