On Tue, May 19, 2009 at 3:07 PM, Alexander Neundorf <a.neundorf-w...@gmx.net> wrote: > Just to check for the simple things: you do this with a clean build tree, i.e. > there is no already existing CMakeCache.txt in the directory, which already > has QT_INCLUDE_DIR set to /usr/lib/qt3/include ? > This would keep cmake from searching again.
Sorry, I thought this went to the list, but I sent it to Clinton. The problem is solved: On Tue, May 19, 2009 at 10:05 AM, Zach Laine <whatwasthataddr...@gmail.com> wrote: > On Tue, May 19, 2009 at 9:56 AM, Clinton Stimpson <clin...@elemtech.com> > wrote: >> Zach Laine wrote: >>> As for debugging FindQt4.cmake, surely I'm not the only person ever to >>> try to use FindQt4 with qt3-devel and qt4-devel, plus another >>> user-installed Qt version. If it's finding the wrong qmake, it's >>> surely my fault for using it wrong, not the FindQt4.cmake file. I'm >>> just trying to figure out the script-fu necessary to get it to play >>> nicely. >>> >>> Does anyone know what the magic incantation is? > > Well, it looks like the magic was deleting the CMakeCache.txt file. > Sigh. I'm new to CMake. I knew I had to be doing something > boneheaded. When should I delete that file and when shouldn't I? I > kind of assumed that changes to CMakeLists.txt followed by "cmake ." > would just work, but apparently not. > > Zach Laine _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake