Don't link against QtWidgets with Qt5 in Engine