On Sunday 01 May 2011 21:51:27 David C. Rankin wrote: [...] > > /usr/bin/c++ -march=i686 -mtune=generic -O2 -pipe -DHAVE_USABLE_QT3 > > -I/opt/qt/include -o CMakeFiles/cmTryCompileExec.dir/src.cxx.o -c ^^^^^^^^ > > /home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp/src. > >cxx > > /home/david/tblds/trinity-tqtinterface/src/build/CMakeFiles/CMakeTmp/src. > >cxx:2:30: fatal error: qapplication.h: No such file or directory > > compilation terminated. [...] > ==> Starting cmake... > -- Checking for Qt3... > -- QT_PREFIX_DIR is set to QTDIR > -- QT_PREFIX_DIR : /opt/qt > -- QT_INCLUDE_DIR: /opt/qt/include ^^^^^^^^ [...] > > Do I need to handle this with a CMake variable or do I need to set a > global environment variable with the Qt3 install? /opt/qt/include is correctly detected. Check if you really have something in /opt/qt/include. -- Serghei