In my little app, i have the following code:

Qt Code:
  1. if ( ! b.load(fileName) ) {
  2. cerr << "Could not load image: " << qPrintable(fileName) << endl;
  3. }
To copy to clipboard, switch view to plain text mode 

This works just fine under Windows and Linux, but i can't get it to work under Mac OS X (10.4.10).
I am using Qt 4.3.1

The filename and its permissions are OK.

I have also checked the path of the image formats plugins with this code:
Qt Code:
  1. QStringList paths = QCoreApplication::libraryPaths();
  2. for ( QStringList::Iterator p = paths.begin(); p != paths.end(); ++ p )
  3. printf( "%s:", (*p).toLatin1().constData() );
To copy to clipboard, switch view to plain text mode 
This path seems to be OK, too.

Does anyone have an idea why QImage does not load the image?

Can I get more info why it does not load the image?

Any pointers, hints, suggestions, etc., will be highly appreciated.

Best regards,
Gabriel.