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

    PaintWidget w;
    w.show();

    return a.exec();
}