Re: [CMake] How to get Qt shared libraries to install with cmake 2.8.0

2010-02-03 Thread Clinton Stimpson
You can see an example here of bundling up Qt with an application: http://www.cmake.org/Wiki/BundleUtilitiesExample Note: before CMake 2.8, it only worked on Mac OS X. In CMake 2.8, it works on Windows and Linux too. And it can be used for any 3rd party library besides just Qt, or any library

Re: [CMake] How to get Qt shared libraries to install with cmake 2.8.0

2010-02-03 Thread Mike Jackson
This is what I use. Seems a bit "kludgey" but does seem to work. This code will copy the Qt dlls into BOTH the Debug and Release build directories (so debugging works) and create installation rules to copy the proper dlls into the install location. # Copy the needed Qt libraries into the Build dir

[CMake] How to get Qt shared libraries to install with cmake 2.8.0

2010-02-03 Thread Mika . Rajala
Hi I'd like to install the necessary .dll files of Qt to my install directory. So that when someone installs my program from a package, he gets the complete set and doesn't need to install Qt seperately. Actually my program is multiple programs and i'd rather not link them statically to Qt libr