It's now generic and doesn't depend on QApplication. Removes an ifdef.
So we can start removing QtWidgets vs QtQuick ifdefs. Each "platform" will implement the differences