Error::defined after prior declaration as dllimport:
Hi, i am using this code .............
Code:
{
return;
while (!file.atEnd())
{
//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
Re: Error::defined after prior declaration as dllimport:
Sorry for being direct: You really should first learn to program with C++ and then go to Qt, since Qt is pure C++ (If you don't stuff like PyQt.)
And for further questions please use our newbie sections!
To your error: Don't name your own classes after qt classes and look how parameters are passed to your function.
Re: Error::defined after prior declaration as dllimport:
oh my GOD... hahahahah . LOL LOL LOL LOL