Compilation errors when porting from Qt4 to Qt5
-
While porting from Qt4 to Qt5, I am getting following error
error: 'UnicodeUTF8' is not a member of 'QApplication'
Browser->setText(QApplication::translate("ExportWidget", "", 0,QApplication::UnicodeUTF8));
^
Can someone help me in solving the issue -
Just take a look at https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
-
While porting from Qt4 to Qt5, I am getting following error
error: 'UnicodeUTF8' is not a member of 'QApplication'
Browser->setText(QApplication::translate("ExportWidget", "", 0,QApplication::UnicodeUTF8));
^
Can someone help me in solving the issueSorry, but this is the third time you ask this questions. You've got already some good answers but you never replied:
https://forum.qt.io/topic/91276/porting-from-qt4-6-to-qt5
https://forum.qt.io/topic/91352/how-to-resolve-error-in-porting-qt4-to-qt5-errorsI'm closing this topic now, please use one of the existing to continue, and please close the other one too. Thanks.