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. Porting my Qt application from qt4.3.3 to QT5 .X

Porting my Qt application from qt4.3.3 to QT5 .X

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 1.8k Views 3 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by
    #1

    Hi
    I am working on porting my QT application which is at qt.4.3.3 to qt.5.x

    Can some one speculate how much work and challenges will be involved

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Charlie_Hdz
      wrote on last edited by
      #2

      No clear question,

      A: Depends whether the modules you're using are deprecate or not in Qt 5

      Some extra information might help

      Thanks

      Kind Regards,
      Enrique Hernandez
      gearstech.com.mx
      chernandez@gearstech.com.mx

      1 Reply Last reply
      1
      • P Offline
        P Offline
        patrik08
        wrote on last edited by
        #3

        Oh.. this can be stay simple or a long work... depend from used tools..
        i missing the QHttp class.. from version 4

        void LoadGetImage::Start()
        {
        	const QString METHOD =  "GET";
        	const QString agent = QString("Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)");
        	header.setRequest(METHOD,url.path(),1,1);
        	header.setValue("Accept-Charset","ISO-8859-1,utf-8;q=0.7,*;q=0.7");
        	header.setValue("Host",url.host());
        	header.setValue("User-Agent",agent);
        	connect(this, SIGNAL(done(bool)), this , SLOT(ImageReady(bool)));
        	Http_id = request(header,0,0);
        }
        

        now i find the new network manager from urlrequest very slow..
        and i find a lot of ssl error on 5.9
        QHttp is so nice and can setting all protocoll...
        from qt4 to 5 is chance many variable from qmake file & string conversion...
        try to run qmake && make in your qt4 app and you can see the difference... :-)

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          Qt Enthusiast
          wrote on last edited by
          #4

          how can I get free package of qt5.2

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            Qt Enthusiast
            wrote on last edited by
            #5

            what are the advantages of using QT5.2 over qt4.3.3

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

              Hi,

              Qt 4 has reached end of life, it's not developed anymore, the only reason a new release could be made is if there was a security hole found. Furthermore Qt 4.3.3 is more than a decade old thus missing all the bug fixes that went in in between.

              Starting with Qt 5.2 is also not a good idea, we are currently at 5.9 as new LTS with 5.10 reaching feature freeze. At the lowest you should use Qt 5.6 which is the old LTS.

              Also, searching for QHttp in the Qt 5 documentation leads to the source breaks page where there's a link for a QHttp for Qt 5 repo if really needed.

              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
              2
              • P Offline
                P Offline
                patrik08
                wrote on last edited by
                #7

                Nice a kind of bridge towards back compatibility or code refactoring? qhttp. class... Save time :-)
                das spart zeit beim übersetzten 4.8 zu 5...

                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