[CMake] Problem with cmake & qt - out of source build - relative paths

Clinton Stimpson clinton at elemtech.com
Thu Nov 6 09:38:19 EST 2008


Can you upgrade to CMake 2.6.2?
There's been a few changes with where the moc files go when specifying 
relative paths in the CMakeLists.txt files.

Clint

Emre Turkay wrote:
> Thanks,
>
> This solves the compilation issue, however cmake still creates the 
> Application directory under test (and when make is run it puts the 
> moc_GUI.cxx file there), which I think is a problem.
>
> On Thu, Nov 6, 2008 at 3:19 PM, Michael Jackson 
> <mike.jackson at bluequartz.net <mailto:mike.jackson at bluequartz.net>> wrote:
>
>         QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_UIS})
>
>
>
>     On Nov 6, 2008, at 3:31 AM, Emre Turkay wrote:
>
>         # this will run uic on .ui files
>         QT4_WRAP_UI(SAMPLE_UI_HDRS ${SAMPLE_MOC_HDRS})
>
>
>     _________________________________________________________
>     Mike Jackson                  mike.jackson at bluequartz.net
>     <mailto:mike.jackson at bluequartz.net>
>     BlueQuartz Software                    www.bluequartz.net
>     <http://www.bluequartz.net>
>     Principal Software Engineer                  Dayton, Ohio
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake




More information about the CMake mailing list