Hello!

I'm porting my code from qt4 to qt5.

I have a function myClass::ReplaceText(QString, QString) that under qt4 compiles ok, but under qt5 get ambiguous with

Qt Code:
  1. WINCOMMDLGAPI HWND APIENTRY ReplaceTextW(LPFINDREPLACEW);
  2. #ifdef UNICODE
  3. #define ReplaceText ReplaceTextW
To copy to clipboard, switch view to plain text mode 

and I get the following error:
'ReplaceTextW' : is not a member of 'myClass'


Does anybody know why?

Thanks