Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to go back to QT4 after failing to work with QT5?

I ran into issues with QT5, so I am trying to go back to QT4.

Somehow CMake still wants QT5 and I don't know how it knows QT5 was ever installed. How can I tell CMake to forget QT5?

Here is my failed CMake output (just the beginning):

CMake Warning at cmake/OpenCVFindLibsGUI.cmake:19 (find_package): By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Core", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Core" with any of the following names:

Qt5CoreConfig.cmake
qt5core-config.cmake