Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Compilation errors when porting from Qt4 to Qt5

    General and Desktop
    3
    3
    665
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      Qt Enthusiast last edited by

      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

      aha_1980 1 Reply Last reply Reply Quote -1
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        Just take a look at https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5

        Qt has to stay free or it will die.

        1 Reply Last reply Reply Quote 3
        • aha_1980
          aha_1980 Lifetime Qt Champion @Qt Enthusiast last edited by aha_1980

          @Qt-Enthusiast

          Sorry, 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-errors

          I'm closing this topic now, please use one of the existing to continue, and please close the other one too. Thanks.

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 6
          • First post
            Last post