YuriyRusinov
7th June 2008, 14:05
Hello, colleagues !
I try to develop qt application with opengl support. I put QGLWidget subclass object onto QMainWindow. But sometimes on resize or exit event xorg user session is terminated and I drop on login manager.
Here is my glwidget realization.
#include "glwidget.h"
GLWidget :: GLWidget (QWidget *parent, Qt::WFlags f)
: QGLWidget (parent, 0, f)
{
}
GLWidget :: ~GLWidget (void)
{
}
void GLWidget :: initializeGL (void)
{
}
void GLWidget :: paintGL (void)
{
}
void GLWidget :: resizeGL (int width, int height)
{
}
My OS is Gentoo Linux 2008.0. Any ideas.
I try to develop qt application with opengl support. I put QGLWidget subclass object onto QMainWindow. But sometimes on resize or exit event xorg user session is terminated and I drop on login manager.
Here is my glwidget realization.
#include "glwidget.h"
GLWidget :: GLWidget (QWidget *parent, Qt::WFlags f)
: QGLWidget (parent, 0, f)
{
}
GLWidget :: ~GLWidget (void)
{
}
void GLWidget :: initializeGL (void)
{
}
void GLWidget :: paintGL (void)
{
}
void GLWidget :: resizeGL (int width, int height)
{
}
My OS is Gentoo Linux 2008.0. Any ideas.