[CMake] FindQt4 doesn't provide plugin variables

Clinton Stimpson clinton at elemtech.com
Tue Dec 21 11:41:45 EST 2010


On Tuesday, December 21, 2010 08:13:08 am Mike McQuaid wrote:
> On 21 December 2010 15:01, Michael Jackson <mike.jackson at 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) intelligently loops through and
> adds variables for every single plugin. Would love to get it merged.

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 the latter is more desirable, and probably doesn't depend on the 
former.  If the latter, should it also do a qt.conf file as well?

Clint


More information about the CMake mailing list