JPG files might need a plugin to work. If you installed Qt from binary packages, you probably need to install some other packages as well.
If one image doesn't work, try another - especially PNG, support for them is embedded into Qt itself so it should always work. The device error is most likely caused by some permissions problem - check if you have read permissions for the file. You can test with a simple program:
Qt Code:
if(file.isReadable()) qDebug() << "readable";To copy to clipboard, switch view to plain text mode
You should get "readable" and "true".
Bookmarks