Could not find Qt4
I was installing ROS-fuerte on Fedora 17 (64bit) when I encountered this issue. The error message says that it cannot find Qt4, though I did install it. Please help.
$> cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte -DSETUPTOOLS_DEB_LAYOUT=OFF
...
-- +++ ros_tutorials
-- Building stack ros_tutorials
-- rospy_tutorials: 2 messages
-- Boost version: 1.48.0
-- Found the following Boost libraries:
-- date_time
-- thread
-- roscpp_tutorials: 0 messages
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
Could NOT find Qt4 (missing: QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE
QT_UIC_EXECUTABLE) (found suitable version "4.8.4", required is "4.6")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindQt4.cmake:1200 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
ros_tutorials/turtlesim/CMakeLists.txt:7 (find_package)
-- Configuring incomplete, errors occurred!
Just to make sure; you are following an instruction that's specifically designated for 17(&16) right?