int main(int argc, char *argv[]) { QApplication app(argc, argv); PaintWidget window; window.show(); return app.exec(); }
int main(int argc, char *argv[]) { QApplication a(argc, argv); PaintWidget w; w.show(); return a.exec(); }