How to set the path to QT5 in cmake?
Hello,
I am not able to install OpenCV 2.4.6.1 properly. Poorly Cmake does not find the QT stuff and I get the following warning:
"CMake Warning at cmake/OpenCVFindLibsGUI.cmake:20 (find_package): By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Gui", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Gui" with any of the following names:
Qt5GuiConfig.cmake
qt5gui-config.cmake"
I know the correct path to this things, but I do not know how to tell it Cmake. Also with google I found no solution.
This is the normal command I use: cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..
How can I add the path to the Qt sources or is there another solution?
Thank you very much :)