Hi,

I'm using Visual Studio 2008 and Qt 4.8.1 on Windows XP.
I have copyied I project that I'm developing on one Machine to another. When I try to build the project on the new development machine I get C2589 and C2059 errors on this pice of code:

Qt Code:
  1. QFile qFile;
  2. ...
  3. if (qFile.error() != QFile::NoError) //This gets me the C2589 and C2059 error codes
  4. .... //Show error message
To copy to clipboard, switch view to plain text mode 

Think on that this builds on the first development machine. The two development machines use Visual Studio 2008 with Qt 4.8.1 and Windows XP(SP3)

Thanks,