View Single Post
Old 05-06-03, 10:32 AM   #1
Registered User
Join Date: May 2003
Location: Frankfurt/Germany
Posts: 8
Send a message via ICQ to axeljaeger
Default I think I found a bug. Small sample includet (requires Qt)

Yesterday I played a bit around with the QGLWidget from the Qt Toolkit from Trolltech. This widget allows it to embed an opengl context into a GUI-Application. There is a funktion renderText to render some text into the widget. But this function does not work together with my nVidia-Card. I'm very sure that the problem is in the nvidia-code and not in Trolltech's, because the same programm is working on ATI hardware. Im using Mandrake Linux 9.1 together with the newest nVidia-drivers (that one with installer). I have a Geforce 2 MX 200 with 64 MB SDRAM. I use an Pentium II on a mainboard with Intel chipset.

Here's the source:

#include <qgl.h>
#include <qapplication.h>

class W : public QGLWidget
  W() : QGLWidget(0,0) {}
  void paintGL();


void W::paintGL()
  renderText(0,0, "Kashmere");

int main(int argc, char ** argv)
 QApplication app(argc, argv);
 W w;
 return app.exec();
Attached Files
File Type: txt xf86config-4.txt (2.7 KB, 260 views)

Last edited by axeljaeger; 05-06-03 at 10:51 AM.
axeljaeger is offline   Reply With Quote