Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. update from Qt3 to Qt5
Forum Updated to NodeBB v4.3 + New Features

update from Qt3 to Qt5

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 2.6k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    Monsif
    wrote on last edited by
    #1

    Hello every body ,

    I'm working in a Project , I want to import an application developed with QT3 to QT5 . I'm thinking to make a small Application , how transform the code (first the classes they don't exist in QT5 .... I know that I will have a lot of errors ) but there no other way to do it . firstly I will transform the UI file to QT5 . editing the XML code is a good idea ? and what I should make next ?

    thank you for your help :)

    Monsif

    jsulmJ 1 Reply Last reply
    0
    • M Monsif

      Hello every body ,

      I'm working in a Project , I want to import an application developed with QT3 to QT5 . I'm thinking to make a small Application , how transform the code (first the classes they don't exist in QT5 .... I know that I will have a lot of errors ) but there no other way to do it . firstly I will transform the UI file to QT5 . editing the XML code is a good idea ? and what I should make next ?

      thank you for your help :)

      Monsif

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Monsif You should first port to Qt 4 and then to Qt5.
      Porting from 4 to 5 is easy.
      See http://doc.qt.io/qt-4.8/porting4-overview.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Monsif You should first port to Qt 4 and then to Qt5.
        Porting from 4 to 5 is easy.
        See http://doc.qt.io/qt-4.8/porting4-overview.html

        M Offline
        M Offline
        Monsif
        wrote on last edited by
        #3

        @jsulm thank you for your idea , but what is "the tool uic3 "?

        this what I found in QT website .

        "Changed format of UI files. Qt Designer 4 cannot read files created by Qt Designer 3 and vice versa. However, we provide the tool uic3 to generate Qt 4 code out of Qt 3 UI files, and to convert old UI files into a format readable by Qt Designer 4."

        jsulmJ 1 Reply Last reply
        0
        • M Monsif

          @jsulm thank you for your idea , but what is "the tool uic3 "?

          this what I found in QT website .

          "Changed format of UI files. Qt Designer 4 cannot read files created by Qt Designer 3 and vice versa. However, we provide the tool uic3 to generate Qt 4 code out of Qt 3 UI files, and to convert old UI files into a format readable by Qt Designer 4."

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Monsif You posted the description: it is a tool to convert UI files to new format - exactly what you wanted to do: "and to convert old UI files into a format readable by Qt Designer 4".

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Monsif
            wrote on last edited by
            #5

            there no uic3 tool ready to use ?

            M 1 Reply Last reply
            0
            • M Monsif

              there no uic3 tool ready to use ?

              M Offline
              M Offline
              Monsif
              wrote on last edited by
              #6

              @Monsif said in update from Qt3 to Qt5:

              @jsulm uic3 tool ready to use ?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi,

                Yes there is, with Qt 4.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1

                • Login

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