Quote Originally Posted by jjbabu View Post
Qt Code:
  1. DataBitsType dbs=(DataBitsType)Enum.Parse(typeof(DataBitsType), portdbs,true);
To copy to clipboard, switch view to plain text mode 
What? Are you trying to mix C# and C++?

See Q_ENUMS() and QMetaEnum.