You also need to change line 12 in main.cpp ( QGuiApplication to QApplication ). Unless you are developing for a constrained mobile platform, I don’t think you need to be concerned about the resource usage of depending on widgets in your app.
↧