This Qt Labs blog entry describes using QPixmapConvolutionFilter for image filtering, however the header files for those classes seem to be absent from Qt SDK (4.5.2). Am I missing something, were these classes deprecated or something?
Thanks.
This Qt Labs blog entry describes using QPixmapConvolutionFilter for image filtering, however the header files for those classes seem to be absent from Qt SDK (4.5.2). Am I missing something, were these classes deprecated or something?
Thanks.
The class is not part of the public API.
Thanks, but how is the example code supposed to be compiled in that case:
Qt Code:
svn checkout svn://labs.trolltech.com/svn/graphics/dojo/bloomfilterTo copy to clipboard, switch view to plain text mode
filters.cpp only #includes QtGui and QtCore in that sample.
EDIT: On a related note, the classes seem to be public in Qt Jambi.
Last edited by CodeLogic; 23rd October 2009 at 01:06.
It's not supposed to be compiled. If you want you can probably extract QPixmapConvolutionFilter from Qt's sourcecode. Anyways I asked a question about convolution filter API during DevDays last week and Ariya told me it's not decided whether it will be exposed into public API because there are faster ways of doing such things than convolutions (i.e. you can write a shader program if you have a decent enough graphics card).
Bookmarks