Not sure it's used anywhere but it doesn't hurt.
#if defined(QT4)
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
QApplication *app = new QApplication(argc, argv);
#if defined(QT4)
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
QApplication *app = new QApplication(argc, argv);
+ app->setApplicationName("cameraplus");
QmlFileEngineHandler handler;
Q_UNUSED(handler);
QmlFileEngineHandler handler;
Q_UNUSED(handler);
QDeclarativeView *view = MDeclarativeCache::qDeclarativeView();
#elif defined(QT5)
QGuiApplication *app = MDeclarativeCache::qApplication(argc, argv);
QDeclarativeView *view = MDeclarativeCache::qDeclarativeView();
#elif defined(QT5)
QGuiApplication *app = MDeclarativeCache::qApplication(argc, argv);
+ app->setApplicationName("cameraplus");
+
QQuickView *view = MDeclarativeCache::qQuickView();
#endif
QQuickView *view = MDeclarativeCache::qQuickView();
#endif