Part Number: AM5728
Dear support!
I would like to continue in discussion from previous thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1011825/am5728-am5728-qtwebengine-eglconfig because it's still hasn't been solved.
Reproducer:
// main.qml
import QtQuick 2.0
import QtQuick.Window 2.0
import QtWebEngine 1.1
Window {
id: window
WebEngineView {
id: webView
anchors.fill: parent
url: "https://google.com"
}
}
// main.cpp
#include <QtGui/QGuiApplication>
#include <QtCore/QCoreApplication>
#include <QtQml/QQmlApplicationEngine>
#include <QtWebEngine/QtWebEngine>
#include <QtQuick/QQuickWindow>
int main(int argc, char **argv) {
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
QGuiApplication app(argc, argv);
//QtWebEngine::initialize();
QQmlApplicationEngine engine;
engine.load(QStringLiteral("./main.qml"));
QQuickWindow *window = qobject_cast<QQuickWindow*>(engine.rootObjects().first());
window->show();
return app.exec();
}
If you run the application with --platform eglfs, it shows the mentioned error. If you run it with --platform linuxfb, it works, but without OpenGL acceleration.
So is it possible to reproduce it on your side with QT 5.15 from community?
Thank you,
Andy