out_file = 'qtdetail.out'
- source = '''#include <QCoreApplication>
+ source = '''#include <QGuiApplication>
#include <QFile>
#include <QLibraryInfo>
#include <QTextStream>
#if defined(QT_NO_OPENGL)
out << "PyQt_OpenGL\\n";
out << "PyQt_Desktop_OpenGL\\n";
-#elif defined(QT_OPENGL_ES_2)
+#elif defined(QT_OPENGL_ES) || defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_ES_3)
out << "PyQt_Desktop_OpenGL\\n";
#endif
}
''' % out_file
- cmd = compile_qt_program(self, verbose, 'qtdetail', source, 'QtCore',
+ cmd = compile_qt_program(self, verbose, 'qtdetail', source, 'QtGui',
debug=debug)
if cmd is None: