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. am i better off using QNetwork instead of httplib2 ? pro / cons!
Forum Updated to NodeBB v4.3 + New Features

am i better off using QNetwork instead of httplib2 ? pro / cons!

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 297 Views 2 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.
  • K Offline
    K Offline
    Kris Revi
    wrote on last edited by
    #1

    as the title says what are the pros / cons off the two? (if any) :)

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

      Hi,

      For what programming language ?

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

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        For what programming language ?

        K Offline
        K Offline
        Kris Revi
        wrote on last edited by
        #3

        @SGaist python :) (erh stressing that i have to wait 600 sec befor posting) meh

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

          Depending on what you want to do, requests will be simpler.

          AFAIK these two are synchronous unlike QNAM so if you make a long call it will block your GUI.

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

          K 1 Reply Last reply
          1
          • SGaistS SGaist

            Depending on what you want to do, requests will be simpler.

            AFAIK these two are synchronous unlike QNAM so if you make a long call it will block your GUI.

            K Offline
            K Offline
            Kris Revi
            wrote on last edited by
            #5

            @SGaist the problem im looking at now is that in my GUI when using a slider or something it "laggs/jitters" when httplib2 is posting data!

            1 Reply Last reply
            0
            • Kent-DorfmanK Offline
              Kent-DorfmanK Offline
              Kent-Dorfman
              wrote on last edited by
              #6

              pros/cons of each? that's not the way you should approach it.

              You should approach it as "if I'm going to use this framework then I should use the tools the framework provides to do the task". Mixing framework APIs should be avoided unless necessary.

              1 Reply Last reply
              2

              • Login

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