Q_INIT_RESOURCE(resource);
-#ifdef CONFIG_LINUX
- /* QGLWidget threading: Note that under X11 it is necessary to set the
- * Qt::AA_X11InitThreads application attribute to make the X11 library
- * and GLX calls thread safe, otherwise the above scenarios will fail. */
-
- /* Calls XInitThreads() as part of the QApplication construction in order
- * to make Xlib calls thread-safe. This attribute must be set before
- * QApplication is constructed. */
- QCoreApplication::setAttribute(Qt::AA_X11InitThreads);
-#endif
-
qt5App = new QApplication(argc, argv);
/* add the path in the application's main() function, right after the