[Qt-interest] QGraphicsDropShadowEffect with OpenGl

Ivan Lyapunov qt4box at gmail.com
Wed Feb 10 12:31:49 CET 2010


Hi.

My program crash with QGraphicsDropShadowEffect and OpenGl viewport, trying
to apply it to QGraphicsSimpleTextItem

it seems because
Q_ASSERT(img.format() == QImage::Format_ARGB32_Premultiplied  ||
img.format() == QImage::Format_RGB32);
in expblur QPixmapFilter.cpp

since QGLPixmapDropShadowFilter::processGL
makes image in Format_Indexed8 format

How can i solve this?

I'm using qt.4.6.1 under win32 compiled with msvc 2008 sp1

Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100210/3c446bd2/attachment.html 


More information about the Qt-interest-old mailing list