[Cmake] QT_WRAP_UI CMake2.0-2 issue

William A. Hoffman billlist at nycap.rr.com
Tue Jun 29 16:35:02 EDT 2004


Yes, this is a bug, please submit it.
I attempted to remove the QT_WRAP_UI flag, as it wasn't really doing anything.
I seem to have forgotten to remove the check in the QT_WRAP_UI command.

-Bill


At 04:25 PM 6/29/2004, Julien Jomier wrote:
>Dear developers,
>
>I just updated my CMake to 2.0 patch 2 and found a strange behavior with the
>QT_WRAP_UI command.
>It seems that if SET(QT_WRAP_UI "YES") is not defined in my CMakeLists.txt
>before calling the command QT_WRAP_UI, CMake returns an error.
>
>Here's an example:
>
>--- 
>IF(QT_UIC_EXECUTABLE)
>  QT_WRAP_UI(PhantomApplicationQt  PhantomApplicationQt_HDRS
>             PhantomApplicationQt_SRCS  ${PhantomApplicationQt_GUI_SRCS} )
>ENDIF(QT_UIC_EXECUTABLE)
>--- failure ---
>
>but
>
>---
>IF(QT_UIC_EXECUTABLE)
>  SET(QT_WRAP_UI "YES")
>  QT_WRAP_UI(PhantomApplicationQt  PhantomApplicationQt_HDRS
>             PhantomApplicationQt_SRCS  ${PhantomApplicationQt_GUI_SRCS} )
>ENDIF(QT_UIC_EXECUTABLE)
>--- success ---
>
>Should I submit this as a bug?
>
>thanks,
>
>Julien
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list