I've been having some problems with Qt not being able to use the newest version of cmake
.
I recently upgraded the version using apt-get
cmake --versioncmake version 3.2.2
But Qt somehow still uses 2.8, even though it should not be possible.
I guess I am running two versions, so I tried sudo apt-get purge cmake
, and then reinstalling it, which led me to the same problem.
Is there some way I can test if I have two versions of cmake on my machine, and if I do, how do I remove it the old one?
Could this explain the issue:
dpkg --get-selections | grep cmake cmake installcmake-data installqtcreator-plugin-cmake:amd64 installros-indigo-cmake-modules install
And here is the 2.8 version.
locate cmake-2.8 | head/usr/share/cmake-2.8/usr/share/cmake-2.8/Modules/usr/share/cmake-2.8/Templates/usr/share/cmake-2.8/completions/usr/share/cmake-2.8/editors/usr/share/cmake-2.8/include/usr/share/cmake-2.8/Modules/AddFileDependencies.cmake/usr/share/cmake-2.8/Modules/AutomocInfo.cmake.in/usr/share/cmake-2.8/Modules/BasicConfigVersion-AnyNewerVersion.cmake.in/usr/share/cmake-2.8/Modules/BasicConfigVersion-ExactVersion.cmake.in