QApplication and QtWidgets are needed for native widget styles