[CMake] Backslashes in QT_MOC_EXECUTABLE and QT_UIC_EXECUTABLE

William A. Hoffman billlist at nycap.rr.com
Fri May 5 15:09:38 EDT 2006


Thanks, I have committed to cvs.


At 01:27 PM 5/5/2006, Moreland, Kenneth wrote:
>I just ran into the same and John Biddiscombe where vtkConfigQt.cmake
>has backslashes in some strings.  After investigation, I learned that
>the problem is that FindQt4.cmake makes two versions of the
>QT_MOC_EXECUTABLE and QT_UIC_EXECUTABLE variables: a cached version and
>a non-cashed version.  The cached version, which the user sees, has the
>filepath backslashes automatically changed to forward slashes.  However,
>CMake apparently prefers the non-cached version while it is in scope.
>
>The attached patch should fix the problem.  It renames the non-cached
>versions of the variable so that the cached version is always used.
>
>-Ken
>
>   ****      Kenneth Moreland
>    ***      Sandia National Laboratories
>***********  
>*** *** ***  email: kmorel at sandia.gov
>**  ***  **  phone: (505) 844-8919
>    ***      fax:   (505) 845-0833
>
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list