Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.1.1 Library
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1.1 Library

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 5 Posters 2.3k 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.
  • S Offline
    S Offline
    ste1786
    wrote on last edited by
    #1

    Hello everyone,
    I am wondering if Qt 5.1.1 are backward compatible with Qt 4.8.5?

    I've begun to develop with Qt 5.1.1, but on my target we have installed Qt 4.8.5 library?
    Could be any problems? or not?

    Thank you
    Stefano

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Qt does not maintain binary or source compatibility across major versions. Code compiled for Qt4 will not run on Qt5 libraries, and vice versa.

      There is binary and source compatibility promise inside a major version, though, so you can compile stuff using - for example - Qt 5.0.1 and then run it on Qt 5.1.

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        In addition to sierdzio's comments.
        You can recompile most of your application with Qt4.8. However, you have to be aware that there is also no complete code compatibility between Qt4.8 and Qt5. A few adaptions are required.
        The upgrade compiling application source developed with Qt4 to Qt5 was quite easy in my case. However, I would be careful the other way around.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flaviomarcio
          wrote on last edited by
          #4

          You can also look at what this destinuado Qt.5.X.

          Ex: I know QFTP, QHTTP been discontinued and replaced by another library, but they still are available for download, with the intention to still maintain backward compatibility.

          Flavio Portela

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flaviomarcio
            wrote on last edited by
            #5

            But you have great chances of your program done in Qt4.8.X run well on Qt5.x

            Flavio Portela

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              See http://qt-project.org/doc/qt-5.1/qtdoc/portingguide.html and its links for a list of incompatible changes between Qt 4.8 and Qt 5

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              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