JoZCaVaLLo
26th June 2013, 15:49
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
WINCOMMDLGAPI HWND APIENTRY ReplaceTextW(LPFINDREPLACEW);
#ifdef UNICODE
#define ReplaceText ReplaceTextW
and I get the following error:
'ReplaceTextW' : is not a member of 'myClass'
Does anybody know why?
Thanks
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
WINCOMMDLGAPI HWND APIENTRY ReplaceTextW(LPFINDREPLACEW);
#ifdef UNICODE
#define ReplaceText ReplaceTextW
and I get the following error:
'ReplaceTextW' : is not a member of 'myClass'
Does anybody know why?
Thanks