Qt Android 3 party Open GL integration
Unsolved
Mobile and Embedded
-
I am trying to integrate a 3rd part OpenGL based application for my Qt Android project.
We are using Qt 6.3.For this we are just creation a GL window and creation a context and making it current.
As the 3rd party application will also run in same thread then it should get the same context.class GLWindow : public QWindow, protected QOpenGLFunctions
GLWindow::GLWindow(std::string plug,QWindow *parent)
: QWindow(parent),
m_initialized(false),
m_context(nullptr),
m_timer(new QTimer(this))
{
setSurfaceType(QWindow::OpenGLSurface);
m_plug = plug;
connect(m_timer, &QTimer::timeout, this, &GLWindow::renderLater);
}But currently with this I am getting black screen. Is there anything I am missing for GL window creation ?
-
This post is deleted!