[EMAIL PROTECTED] 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
[EMAIL PROTECTED]
http://www.kitware.com
518-371-3971 (phone and fax)
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to