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. Is it hard to move project from Qt3 to Qt5?
Forum Updated to NodeBB v4.3 + New Features

Is it hard to move project from Qt3 to Qt5?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 4.1k 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
    MaximAlien
    wrote on last edited by
    #1

    Hello guys,

    I have one general question. There is one middle size project developed in Qt 3.3.4. I'd like to convert it from Qt3 to Qt5. What do you think, is it going to be hard to move it to Qt5?

    A couple of days managed to move one big project from Qt4 to Qt5. Took me about 2 days. I never worked with Qt3 before, so that's why I'm asking.

    Cheers,
    Max.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      Hi, whether it is easy or not depending on the classes or apis you used in your project.

      For a general project, it should be rather easy moving Qt4 to Qt5, but it is rather hard moving Qt3 to Qt4.

      If you never worked with Qt3, you must yourself familiar with it.

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

        Hi,

        You can find a good deal of information in Qt 4's porting guide to help you going.

        The savage way would be to try to build your project and see where it chokes then go through the porting to see what you need to replace.

        If you take the two step way (first to Qt 4 then Qt 5) don't use the qt3support module. You'll have to port the code anyway to Qt 5.

        Hope it helps

        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
        0

        • Login

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