Ubuntu 14.04 Qt5 development libraries?

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...

Edit: As for the qmake problem, this is fixed by

sudo apt-get install qt5-default