int main(int argc, char **argv) { MyPaint paint; paint.show(); return 0; }
int main(int argc, char *argv[]) { QApplication app(argc, argv); MyPaint p; p.show(); return app.exec(); }