On Friday 20 June 2008 2:16:24 pm Bill Hoffman wrote:
> [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

That's nice.  There's possibly other file(s) or binaries (executables and/or 
plugins) that need to be included that aren't linked directly into the Qt 
based application.  How could that that be handled?  Though, it sounds like 
the GetPrerequisites.cmake would still do most of the work.

Clint
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to