 <p>That is right: no such class exists in the QtGui module of Qt5. And yes, you have to resort to plain OpenGL calls to handle your textures if you don't want to pull in the widget library.</p> <p>That being said, the current (let's say somewhat non-optimal and inconsistent) situation is recognized and actively being discussed by the Qt developers. See Sean Harmer's <a href="http://lists.qt-project.org/pipermail/development/2012-December/008765.html" rel="nofollow">OpenGL in Qt 5.1 and onwards</a> mail, specifically point 7. But following that thread and having a look at the current dev tree, I doubt it is going to land in 5.1.</p> <hr> <p>Edit: Looking at the other answers and the recent comments I'd like to add regarding options you have with standard Qt 5.0:</p> <p>Is your main goal to:</p> <ol> <li>get some pointer you can pass to <code>glTexImage2D(..., GL_UNSIGNED_BYTE, GL_RGBA, pointer)</code> from your potentially 'weird' formatted QImage? or</li> <li>use some helper class that spares you dealing with <code>glTex*()</code> related functions?</li> </ol> <p>If it is the first and linking the (old) OpenGL module (which is part of Qt 5.0) is an option (and apart from 'esthetically' reasons, I don't see why it would not be), you could use the static <code>QGLWidget::convertToGLFormat(QImage)</code> that Victor was hinting at. If not, then doing something like that function does 'by hand' (along the lines of what Xīcò suggested) should work: basically first calling <code>QImage::convertToFormat(QImage::Format_ARGB32)</code> and then add some platform dependent byte swizzeling and mirroring (see <em>convertToGLFormatHelper(...)</em> in <a href="http://qt.gitorious.org/qt/qt/blobs/4.8/src/opengl/qgl.cpp" rel="nofollow">the source</a>). Although, if you happen to use your own shaders, then doing that on the GPU is way faster.</p> <p>If you want to have both <em>and</em> linking the mentioned OpenGL Qt 5.0 add-on module is an option you might be able to actually use a <code>QGLWidget::bindTexture(...)</code> equivalent even in your QQuickView class:</p> <pre><code>GLuint texID = QGLContext::fromOpenGLContext( this-&gt;openglContext())-&gt;bindTexture(...) </code></pre> <p>Where <code>this</code> would be a QQuickView*. See the <a href="http://qt-project.org/doc/qt-5.0/qtopengl/qglcontext.html" rel="nofollow">QGLContext help</a>. (Disclaimer: I have not tried that myself.)</p>