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. Where to find tutorial / lesson for networking in modern Qt?
QtWS25 Last Chance

Where to find tutorial / lesson for networking in modern Qt?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 770 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.
  • P Offline
    P Offline
    pwnstar23
    wrote on last edited by
    #1

    I have the C++ GUI Programming with Qt4 book, and also been watching voidrealms Qt video series for learning Qt, however both of these cover older version of Qt which hasn't been much of a problem for the GUI stuff but the networking seems to have changed quite a bit. Both these sources are teaching QFtp and QHttp classes which appear to not exist anymore. Where can I find a tutorial / lessons on getting up to speed with QtNetworking, for noobs to the topic?

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

      The networking has not changed in any substantial way since Qt4 introduced QNetworkAccessManager. QHttp and QFtp were deprecated in Qt4 and removed/hidden in Qt5. The book you refer to does, indeed, use the deprecated classes.

      Start with the Networking Examples, particularly the HTTP example:
      http://qt-project.org/doc/qt-5.0/qtnetwork/examples-network.html

      and, of course, read them in conjunction with the documentation for the network classes:
      http://qt-project.org/doc/qt-5.0/qtnetwork/qtnetwork-index.html

      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