#includeint main(int argc, char *argv[]) { QApplication app(argc, argv); // Add your code here return app.exec(); }
#includeThis example shows how to set the name and organization for your application. This information is used in various places such as the title bar of the window and in settings files. Library: Qt Core module.int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setApplicationName("MyApp"); app.setOrganizationName("MyCompany"); // Add your code here return app.exec(); }