10int main(
int argc,
char *argv[])
13 QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
16 switch (app.parseCommandLineArguments()) {
17 case QDesigner::ParseArgumentsSuccess:
19 case QDesigner::ParseArgumentsError:
21 case QDesigner::ParseArgumentsHelpRequested:
24 QGuiApplication::setQuitOnLastWindowClosed(
false);
26 return QApplication::exec();