[Qt-interest] QDockWidget, QGLWidget, QImage on intel chipset bug
Nagella, S (Srikanth)
srikanth.nagella at stfc.ac.uk
Fri Feb 27 16:55:55 CET 2009
Hi
I am trying to draw a QImage on QGLWidget using QPainter. QGLWidget is
added as widget to QDockWidget. The code works fine on all graphics
cards except intel chipset. On intel graphics chipset the displayed
image is very badly pixelated.
If I replace the QDockWidget with a QMainWindow the final display is
correct.
QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
QImage img("DisplayImage.bmp","BMP");
painter.drawImage(0,0,img);
painter.end();
Is there anything wrong with the dock widget?
Can anyone help please?
Thanks
Sri
Mr. Srikanth Nagella
eScience Centre
Rutherford Appleton Laboratory
Science and Technology Facilities Council
Harwell Science and Innovation Campus
Didcot - OX11 0QX
Phone No: 0044 1235778253
Email: srikanth.nagella at stfc.ac.uk
--
Scanned by iCritical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090227/a48a7306/attachment.html
More information about the Qt-interest-old
mailing list