11int main(
int argc,
char *argv[])
14 QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
17 switch (app.parseCommandLineArguments()) {
18 case QDesigner::ParseArgumentsSuccess:
20 case QDesigner::ParseArgumentsError:
22 case QDesigner::ParseArgumentsHelpRequested:
25 QGuiApplication::setQuitOnLastWindowClosed(
false);
27 return QApplication::exec();