If you output the result of file.size(), is it null ? Maybe Qt can't open it (bad permissions, wrong path...) ?
Forum Rules
Bookmarks