On Tue, Sep 8, 2009 at 4:16 PM, Brendan Duncan<[email protected]> wrote: >> >> Nice workaround ;-), the official place is using the include_directories >> command. But the better way to solve this is find why Qt can't be foudn on >> your system or why cmake found Qt in a wrong directory. >> >> > Modify the CMAKE_CXX_FLAGS line to include the Qt include directory: >> > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall >> > -DAPIEXTRACTOR_ENABLE_DUPLICATE_ENUM_VALUES >> > -I/usr/local/Trolltech/Qt-4.5.2/include") > > Adding > set(QT_INCLUDE_DIR "/usr/local/Trolltech/Qt-4.5.2/include") > to the top of the CMakeLists.txt seems to be a more general solution than > adding the -I flags.
Did you try setting QTDIR to "/usr/local/Trolltech/Qt-4.5.2" ? Something like: export QTDIR="/usr/local/Trolltech/Qt-4.5.2" before running cmake ... Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
