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. Qt proyect 4.8 mix with Qt 5.5
QtWS25 Last Chance

Qt proyect 4.8 mix with Qt 5.5

Scheduled Pinned Locked Moved General and Desktop
c++ qtqt 4.8qt 5
5 Posts 2 Posters 1.7k 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.
  • A Offline
    A Offline
    Arturo Pablo R
    wrote on 21 Apr 2016, 20:36 last edited by
    #1

    Hi to everyone i have the next question is possible use into qt project with 4.8 a dll, or .lib created with qt 5.X
    The case is next, i was assigned to old project, he was developed with qt 4.8 but i need add a new functionality, and for the time is hard the migration to Qt 5.x, (the functionality implemented json and http requests, this 2 things not exist in qt 4.8), and so i think if ¿i can create this functionalities with qt 5.x and export like with a dll or .lib for their use? (and what happens with their dependencies), or is better try to export to qt 5.x or implement directly this modules in qt 4.8.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Apr 2016, 21:22 last edited by
      #2

      Hi,

      No you can't mix both series of libraries in the same projects.

      Unless you are using some specific stuff that's been removed in Qt 5, the Qt 4 to Qt 5 port is usually pretty painless.

      What function exactly do you need form Qt 5 that's not available in 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

      A 1 Reply Last reply 21 Apr 2016, 21:49
      0
      • S SGaist
        21 Apr 2016, 21:22

        Hi,

        No you can't mix both series of libraries in the same projects.

        Unless you are using some specific stuff that's been removed in Qt 5, the Qt 4 to Qt 5 port is usually pretty painless.

        What function exactly do you need form Qt 5 that's not available in Qt 4 ?

        A Offline
        A Offline
        Arturo Pablo R
        wrote on 21 Apr 2016, 21:49 last edited by Arturo Pablo R
        #3

        @SGaist the jsons classes and http post classes(exist by 3rd libraries), but now i'm try to port all the code from qt 4.8 to qt 5.5 (i hope have success)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 21 Apr 2016, 21:51 last edited by
          #4

          IIRC, there was already a QJson library available.

          What http post classes ? Qt 4 already provided QNetworkAccessManager.

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

          A 1 Reply Last reply 21 Apr 2016, 22:06
          0
          • S SGaist
            21 Apr 2016, 21:51

            IIRC, there was already a QJson library available.

            What http post classes ? Qt 4 already provided QNetworkAccessManager.

            A Offline
            A Offline
            Arturo Pablo R
            wrote on 21 Apr 2016, 22:06 last edited by
            #5

            @SGaist said:

            QNetworkAccessManager.

            ok, i know by Qjson (but is for a 3rd and i preffer use the official) i forget the existence of QNetworkAccessManager.

            1 Reply Last reply
            0

            1/5

            21 Apr 2016, 20:36

            • Login

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