For qt3, it works:
$ python Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from qt import * >>> QImageIO.inputFormats() ['BMP', 'GIF', 'JPEG', 'MNG', 'PBM', 'PGM', 'PNG', 'PPM', 'XBM', 'XPM']
For qt3, it works:
$ python inputFormats( )
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from qt import *
>>> QImageIO.
['BMP', 'GIF', 'JPEG', 'MNG', 'PBM', 'PGM', 'PNG', 'PPM', 'XBM', 'XPM']