[Qt-interest] fullscreen windows on X11 +Xinerama
Wesley Smith
wesley.hoke at gmail.com
Wed Mar 10 21:52:41 CET 2010
Thanks!
>
> But I think you should let QGLWidget handle the rest after making a Window
> that works across multiple screens.
I would love to, but I've tried many permutations of the visual flags
and nothing is working. I'm matching the Qt format flags with the X11
flags for glXChooseFBConfig and I'm getting no love. Here are my
flags:
int buffer_attributes[] = {
GLX_X_RENDERABLE, True,
GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT,
GLX_RENDER_TYPE, GLX_RGBA_BIT,
GLX_DOUBLEBUFFER, True,
GLX_STEREO, False,
}
On with Qt
QGL::FormatOptions format = QGL::DoubleBuffer |
QGL::Rgba |
QGL::DirectRendering;
These should match up, but I still get a bad drawable error.
wes
More information about the Qt-interest-old
mailing list