I'm trying to generate makefiles for my Qt based project with Cmake. I've managed to compile it on Ubuntu, Windows and Mac OS X without any problems, but this line:
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui REQUIRED)
gives me this error:
CMake Error at
Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR
QT_QTCORE_LIBRARY QT_QTGUI_INCLUDE_DIR QT_QTGUI_LIBRARY QT_UIC_EXECUTABLE)
Call Stack (most recent call first):
I've started working through the .cmake files but I can't figure out what went wrong. I've install Fedora 16 (32bit) and chose the "Software Developer" option. So (as far as I know) Qt4 should be installed, I'm just not sure if something else is required.
Anyone any idea what went wrong?