Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Solved libcurl vs QT Network - what is better?

    General and Desktop
    2
    3
    248
    Loading More Posts
    • 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.
    • B
      bogong last edited by

      Hello all!
      All of my previous projects I've been using libcurl. For now I want to try to use QT Network. I need to be able to:

      • send email only
      • perform POST/GET requests via HTTP/HTTPS

      Is QT Network OK for this issues?

      1 Reply Last reply Reply Quote 0
      • mrjj
        mrjj Lifetime Qt Champion last edited by

        Hi
        well for the email part you might want to use 3rd party code as not to code it
        all from scratch.
        https://github.com/xcoder123/SimpleSmtp_SSL_QT5
        https://github.com/bluetiger9/SmtpClient-for-Qt
        or similar.

        POST/GET is easy to do with native Qt NetworkManager.
        https://gist.github.com/olafurjohannsson/801e0bd1428aec51bced75907c58c551

        1 Reply Last reply Reply Quote 3
        • B
          bogong last edited by

          Thx a lot. Will look on it.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post