[CMake] Qt4 LUpdate and Blanks in the Build Directory Path

Clinton Stimpson clinton at elemtech.com
Wed May 6 11:22:19 EDT 2009


Allen Barnett wrote:
> On Wed, 2009-05-06 at 08:45 -0600, Clinton Stimpson wrote:
>   
>> Clinton Stimpson wrote:
>>     
>>> Allen Barnett wrote:
>>>       
>>>> I (unwisely) created the build directory for a Qt4 project in a path
>>>> with blanks in the directory names. The QT4_CREATE_TRANSLATION macro in
>>>> FindQt4.cmake generates a minimal .pro file for the use of lupdate. When
>>>> the macro writes the _lupdate.pro file, it doesn't take into account
>>>> that the source files may have blanks in their path, leading to a bad
>>>> _lupdate.pro file.
>>>> This is in cmake 2.6.4.
>>>> Thanks,
>>>> Allen
>>>>
>>>>   
>>>>         
>>> Can you verify the following patch fixes it?
>>>
>>> Thanks,
>>> Clint
>>>       
>> Yuck..  word wrapping messed that up.
>> I'm trying again.  See the attachment.
>>     
>
> That works great. Thank you very much!
>
> Allen
>
>   

Thanks for checking.  The fix is in CVS now.

Clint



More information about the CMake mailing list