Quote Originally Posted by patrik08 View Post
#define HOME_DIR_YOUR \
QString( "%1/ale.png" ).arg( QDir::homePath())
...
QUrl youhome(HOME_DIR_YOUR);
Are you sure this creates a valid QUrl object? What does "youhome.isValid()" return? Shouldn't there be "file://" in front of the string?