Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-27 Thread Mike Jackson
I thought I had some code that did that so I dug around a bit and came up with this: Basically what this does is loop through a list of libraries that is delimited by the "optimized" and "debug" words. As it loops through it will add the library to the OSX_BUNDLE_LIBRARIES variable.

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-26 Thread Mike Jackson
Funny, I just got back to this project on windows and the below code doesn't actually work. Sorry for the noise. Mike A. any chance you would like to share what you came up with? -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Jun 18, 2008, at 1:0

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-20 Thread David Cole
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 <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> On Friday 20 June 2008 8:52:25 am Mike Arthur wrote: >> >>> On Wednesday 18 June

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-20 Thread clinton
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 variab

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-20 Thread Bill Hoffman
[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 t

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-20 Thread clinton
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

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-18 Thread clinton
On Wednesday 18 June 2008 10:51:17 am Mike Arthur wrote: > We can't static-link Qt into our application as we're relying on dynamic > loading of plugins. > > As a result I want to install the necessary Qt*.dll files. > > Is there an easy (or not so easy) way of getting these files from > ${QT_LIBR

Re: [CMake] Get Qt DLL paths for INSTALL

2008-06-18 Thread Mike Jackson
I hacked together the following: Note the variable MXATools_PROJECT_DIR is defined in another cmake file and basically points to the top level Project folder. # -- # This CMake code installs the needed support li

[CMake] Get Qt DLL paths for INSTALL

2008-06-18 Thread Mike Arthur
We can't static-link Qt into our application as we're relying on dynamic loading of plugins. As a result I want to install the necessary Qt*.dll files. Is there an easy (or not so easy) way of getting these files from ${QT_LIBRARIES} or something similar? Thanks in advance! -- Cheers, Mike Ar