[CMake] Get Qt DLL paths for INSTALL

David Cole david.cole at kitware.com
Fri Jun 20 16:33:27 EDT 2008


I've been distracted and put that aside for a while. I'll see if I can't get
back to it in the coming week...


On Fri, Jun 20, 2008 at 4:16 PM, Bill Hoffman <bill.hoffman at kitware.com>
wrote:

> clinton at elemtech.com wrote:
>
>> On Friday 20 June 2008 8:52:25 am Mike Arthur wrote:
>>
>>> On Wednesday 18 June 2008 21:19:33 you wrote:
>>>
>>>> It would probably be easier to get them from QT_QT*_LIBRARY_RELEASE or
>>>> QT_QT*_LIBRARY_DEBUG variables, and replace the .lib extension with the
>>>> .dll.
>>>>
>>> Thanks, I opted for this approach.
>>>
>>> Again, I think it would probably be worth having something in FindQt4 to
>>> get the dll locations?
>>>
>>
>> To CMake people in general,
>> Would it make sense to include macros in CMake that can be called to copy
>> the Qt runtimes into an install/package?  It seems people keep rolling their
>> own.
>> We have a script that installs the Microsoft runtimes, but I don't see
>> much more beyond that.
>>
>>
> Dave Cole is working on a general purpose way to get depends for a project.
>  It is in Modules/GetPrerequisites.cmake.   In the source tree of CMake,
> there is also:
>
> QtDialog/CMakeIngestOSXBundleLibraries.cmake
>
> That is a previous version of the same thing althoug specific for the
> Mac, as we just link static cmake for windows right now.  That should work
> with Qt or any other libraries an application might use.
>
> -Bill
>
> --
> Bill Hoffman
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> bill.hoffman at kitware.com
> http://www.kitware.com
> 518-371-3971 (phone and fax)
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080620/7056bc06/attachment.htm>


More information about the CMake mailing list