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. Qt4 -> Qt5 general questions

Qt4 -> Qt5 general questions

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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.
  • M Offline
    M Offline
    migizi
    wrote on last edited by
    #1

    I have a few books I bought about Qt4 a few years ago. I use to use Qt but then had to move to another framework. I'm looking at picking Qt up again and I want to start to Qt5. So I'll need to refresh my knowledge and the books helped a lot in the past but I don't see anything about Qt5 books being written. I've been trying to find documents on the differences between the two but either I'm looking in the wrong place, or there aren't any. Is there a large enough difference between the two that I would have to look retraining myself again, or is everything pretty much the same but the framework has been modularized more?

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

      Qt5 is almost completely source-compatible. Porting even big projects is usually very short.

      The official porting guide can be found "here":http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html. In most cases books about Qt4 will still be relevant, if a bit outdated. Just remember to add QT += widgets in your .pro file and include <QtWidgets> instead of <QtGui>.

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        migizi
        wrote on last edited by
        #3

        Thank you for that information.

        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