Hi,

I'm trying to port my application from Visual Studio to Eclipse+MinGW.

I'm having some problems with enum types. On Visual Studio I was able to use:
myClass.h
Qt Code:
  1. ...
  2. enum myEnum{A = 0, B, C];
  3. ...
To copy to clipboard, switch view to plain text mode 

someWhere in my code
Qt Code:
  1. int iA = myClass::myEnum::C;
To copy to clipboard, switch view to plain text mode 

Visual Studio compiler don't show me any error, but MinGW compiler tells me that it don't exists. The only solution is ignore the enum name.
Qt Code:
  1. int iA = myClass::C;
To copy to clipboard, switch view to plain text mode 

Is this behavior correct?

Thanks,

Another question is: is there any tool to import from Visual Studio project to PRO file?

Thanks,