[CMake] QT4_ADD_RESOURCES fails to find dependencies in resource-files with aliases

Michael G. Hansen mikeml2 at pfna.de
Fri Feb 9 09:36:47 EST 2007


Alexander Neundorf wrote:
>> I am using aliases in my Qt-resource-files like this:
>> <file alias="somefile.ext">filename/on/disk.ext</file>
>>
>> This prevents QT4_ADD_RESOURCES from finding the dependency on
>> "filename/on/disk.ext" because the regular expression used for this does
>> not expect the alias-parameter. I tried to create a new regular
>> expression which works with the alias-parameter:
> 
> I think the version from current cvs should already contain a fix:
> http://www.cmake.org/cgi-bin/viewcvs.cgi/Modules/FindQt4.cmake?rev=1.66&root=CMake&view=log

That's right, and it is a lot better than my suggestion. Thanks!

-- 
Michael Hansen - http://www.pfna.de/
Monheim / Germany


More information about the CMake mailing list