Add Qt5Core to cmake file.