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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.