I have to set up a Qt development environment for my GUI class. I am working through a tutorial and was instructed to include the <QTCore/QFile> header in my implementation file. However, I cannot build the project because the above header file is not found.
I am not sure what I am missing here — I installed Qt-Creator and all of the deps from the Debian package manager (currently using Wheezy). The Qt 4.7 documentation in IDE also has a section on the above header files, and yet it can’t seem to locate them… odd.
NOTE: Header should have read <QtCore/QFile>.
#include <QFile>will be more compatible with Qt5. Also note the capital T you have, it should have been#include <QtCore/QFile>– remember unix/linux file systems are case sensitive.