I am using Debian OS and I\'m trying to point to cmake where is my Qt4.
I try to build qjson library and with its CMakeLists.txt: http://pastebin.com/fKNp0Qgy
I
Here is the answers
https://askubuntu.com/questions/540746/ubuntu-14-04-qt5-development-libraries/540757#540757
Seems
apt-file search Qt5CoreConfig.cmake
was what I was missing. This got me:
qtbase5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake
Installing that seems to lead to CMake finding Qt5. qmake
still reports the same problem when directly called though...some remnant from qt4 still installed it seems...
As for the qmake
problem, this is fixed by:
sudo apt-get install qt5-default