First time here? Check out the FAQ!
answered 2013-06-14 02:20:59 -0600
Set the CMake variable WITH_QT to 4:
WITH_QT
cmake -DWITH_QT=4 <path to opencv>
By the way, it is not an error. It is just a warning that CMake couldn't find Qt5, but it found Qt4.