Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to resolve error in porting qt4 to qt5 errors
Forum Update on Monday, May 27th 2025

How to resolve error in porting qt4 to qt5 errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 925 Views
  • 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 Offline
    Q Offline
    Qt Enthusiast
    wrote on 5 Jun 2018, 07:06 last edited by
    #1

    'UnicodeUTF8' is not a member of 'QApplication

    A J 2 Replies Last reply 5 Jun 2018, 07:31
    0
    • Q Qt Enthusiast
      5 Jun 2018, 07:06

      'UnicodeUTF8' is not a member of 'QApplication

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 5 Jun 2018, 07:31 last edited by aha_1980 6 May 2018, 07:32
      #2

      @Qt-Enthusiast said in How to resolve error in porting qt4 to qt5 errors:

      UnicodeUTF8

      E.g. discussed here: https://forum.qt.io/topic/28054/unicodeutf8-not-member-qapplication-generated-with-qt5-designer

      So, have you cleaned all object and generated files before compiling?

      By the way: that is the same question you have already asked here: https://forum.qt.io/topic/91276/porting-from-qt4-6-to-qt5/3

      Qt has to stay free or it will die.

      1 Reply Last reply
      3
      • Q Qt Enthusiast
        5 Jun 2018, 07:06

        'UnicodeUTF8' is not a member of 'QApplication

        J Offline
        J Offline
        JonB
        wrote on 5 Jun 2018, 08:25 last edited by
        #3

        @Qt-Enthusiast
        If you are porting from Qt 4 to 5, have you read:

        • https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
        • https://doc.qt.io/archives/qt-5.10/sourcebreaks.html

        etc.?

        1 Reply Last reply
        4

        1/3

        5 Jun 2018, 07:06

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved