Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QOpenGLTexture::setData(PixelFormat sourceFormat, PixelType sourceType, void * data, const QOpenGLPixelTransferOptions * const options = 0) declared obsolete in Qt 5.5



  • QOpenGLTexture::setData(PixelFormat sourceFormat, PixelType sourceType, void * data, const QOpenGLPixelTransferOptions * const options = 0) and some other overloads have been declared obsolete in Qt 5.5. Which alternatives could I use if using setData(const QImage & image, MipMapGeneration genMipMaps = GenerateMipMaps) is not an option?


Log in to reply