[CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
It would be good if FindQt4 looked for the various plugins that can be installed with Qt and gave the path to them (both release and debug versions) and searched using the various filenames that are possible. I'd suggest providing variables like: QT_SQLITE_PLUGIN_LIBRARY_RELEASE In addition, it

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 9:41 AM, Mike McQuaid wrote: It would be good if FindQt4 looked for the various plugins that can be installed with Qt and gave the path to them (both release and debug versions) and searched using the various filenames that are possible. I'd suggest providing variables

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 15:01, Michael Jackson mike.jack...@bluequartz.net wrote: I'll vote for this one also. I have my own code that looks for the Qt Plugin DLLs and adds the variables but it is pretty ugly. Something the is built in would help big time. Check out/test my patch. It (fairly)

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 16:41, Clinton Stimpson clin...@elemtech.com wrote: Would you prefer having a set of variables that point to the dlls, or would you rather have a function that takes a list of Qt modules and copies the necessary plugins for those Qt modules to a certain location? It seems

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Michael Jackson
On Dec 21, 2010, at 11:45 AM, Mike McQuaid wrote: On 21 December 2010 16:41, Clinton Stimpson clin...@elemtech.com wrote: Would you prefer having a set of variables that point to the dlls, or would you rather have a function that takes a list of Qt modules and copies the necessary

Re: [CMake] FindQt4 doesn't provide plugin variables

2010-12-21 Thread Mike McQuaid
On 21 December 2010 16:54, Michael Jackson mike.jack...@bluequartz.net wrote: I would like to have variables to the DLLs also (actually ALL the DLLs, not just the plugins) because under certain use cases those are needed. Here is my use case. Setup: Windows 7 x64 with Qt 4.6.x built as BOTH