problem with QT-openGL-display list

Dear all,
I have to create an application in c++ with more classes.
In one class I create a GLuint list with glNewList(list,1).
Can I call glCallList(list) in another class?

thank you

So long as the active context is the one with the desired display list, that should work fine. If you are drawing in a different context, then you need to pass one context to the other when you create the second one for them to share listls and textures. Check out the Qt docs for QGLContext.