title: QGLWidget in another thread? What is the documentation referring to?
body: <p>I'm doing a lot of texture uploading (60 VGA images a second) and it's blocking my UI thread. From <a href="http://qt-project.org/doc/qt-5.1/qtopengl/qglwidget.html#details" rel="nofollow noreferrer">the Qt 5.1 QGLWidget manual page</a> (emphasis mine):</p>
  
  <blockquote>
    <p>Texture uploading in a thread.
    Doing texture uploads in a thread may be very useful for applications handling large amounts of images that needs to be displayed, like for instance a photo gallery application. This is supported in Qt through the existing bindTexture() API. A simple way of doing this is to create two sharing QGLWidgets. One is made current in the main GUI thread, while the other is made current in the texture upload thread. <b>The widget in the uploading thread</b> is never shown, it is only used for sharing textures with the main thread. For each texture that is bound via bindTexture(), notify the main thread so that it can start using the texture.</p>
  </blockquote>
  
  <p>What? How can a QWidget-based class such as a QGLWidget be moved to a thread? Attempting to do so results in:</p>
  
  <pre><code>QObject::moveToThread: Widgets cannot be moved to a new thread
  </code></pre>
  
  <p>I do not understand what the documentation is suggesting I implement in order to move e.g. <code>bindTexture()</code>'s execution out of the UI thread.</p>
  
  <p>This is also mentioned here: <a href="https://stackoverflow.com/questions/12579642/qt4-opengl-bindtexture-in-separated-thread">Qt4/Opengl bindTexture in separated thread</a></p>
  
  <p>No code posted there though.</p>