[CMake] Trouble using QT_WRAP_* in out-of-source builds

William A. Hoffman billlist at nycap.rr.com
Fri Sep 2 11:32:01 EDT 2005


Please post the cmake list file with the problem.
Most likely you are not using full paths to something.
${PROJECT_SOURCE_DIR}/file

-Bill


At 11:16 AM 9/2/2005, David Flitney wrote:
>My project uses Qt and I'm getting a problem with compilation of the uic generated .h sources. These are created in the build tree but the include paths aren't being set to reflect this so when, later in the build, the header gets included in a source file it doesn't get found.
>
>An in-source build works fine.
>
>OS: MacOSX Tiger
>CMake: version 2.3-20050831
>
>-- 
>Cheers, Dave
>
>Dave Flitney, IT Manager
>Oxford Centre for Functional MRI of the Brain
>E:flitney at fmrib.ox.ac.uk W:+44-1865-222713 F:+44-1865-222717
>URL: http://www.fmrib.ox.ac.uk/~flitney
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list