hasnatzaidi
11th June 2009, 21:52
Hi, i am using this code .............
QFile::QFile ( const QString & "proc.txt")
{
QFile file("prac.txt");
if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
return;
while (!file.atEnd())
{
QByteArray line = file.readLine();
//process_line(line);
}
then i face this type of Error
warning: function 'QFile::QFile(const QString&)' is defined after prior declaration as dllimport: attribute ignored
reply Plz
QFile::QFile ( const QString & "proc.txt")
{
QFile file("prac.txt");
if (!file.open(QIODevice::ReadOnly | QIODevice::Text))
return;
while (!file.atEnd())
{
QByteArray line = file.readLine();
//process_line(line);
}
then i face this type of Error
warning: function 'QFile::QFile(const QString&)' is defined after prior declaration as dllimport: attribute ignored
reply Plz