Modify CMakeLists.txt to use qt5core instead of qtdeclarative5