PDA

View Full Version : 'QFile' Header File Problem



hasnatzaidi
11th June 2009, 21:33
Hello , I wana use "QFile" Class...whose Header File i use in .cpp file..........
because i face like this error

error: `QFile' undeclared (first use this function)

thanks in advance

Lykurg
11th June 2009, 22:17
#include <QFile>
and in your *.pro

CONFIG += qt
QT += core
Normally not necessary but eventaly...

Maybe you wanna show us some code in which the error occurs.

hasnatzaidi
11th June 2009, 22:40
thank you very much