Try to use a consistent way to include Qt headers, the preferred would be, for example, <QFile>