What I'd like to know is how pass my QGLFormat object to QGLContext?
When I try to do this:
QGLFormat mFormat = QGLFormat( QGL::DepthBuffer | QGL::AlphaChannel );
QGLContext mContext = QGLContext( mFormat );
To copy to clipboard, switch view to plain text mode
I get this error:
error: 'QGLContext::QGLContext(const QGLContext&)' is private
error: 'QGLContext::QGLContext(const QGLContext&)' is private
To copy to clipboard, switch view to plain text mode
Using Qt Creator with Windows 7.
What is wrong here?
Bookmarks