remove magic from cmake. USE_QT5 should be the only trigger