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. HTTP request without EventLoop
Forum Updated to NodeBB v4.3 + New Features

HTTP request without EventLoop

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 192 Views 1 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.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by freddy311082
    #1

    Hi guys

    I'm doing a project where I was asked to not tie to the Http Qt implementation cause in the near future we could use something else. So, the point is that I have a library where I handle everything related to my http requests, but to use QNetworkAccessManager I have to start the EventLoop to subscribe to the QNetworkAccessManager::finished signal.

    Is there any good way to use QNetworkAccessManager without starting the EventLoop? Do you have any better suggestion?

    Regards

    Christian EhrlicherC 1 Reply Last reply
    0
    • freddy311082F freddy311082

      Hi guys

      I'm doing a project where I was asked to not tie to the Http Qt implementation cause in the near future we could use something else. So, the point is that I have a library where I handle everything related to my http requests, but to use QNetworkAccessManager I have to start the EventLoop to subscribe to the QNetworkAccessManager::finished signal.

      Is there any good way to use QNetworkAccessManager without starting the EventLoop? Do you have any better suggestion?

      Regards

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @freddy311082 said in HTTP request without EventLoop:

      Is there any good way to use QNetworkAccessManager without starting the EventLoop?

      No

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      • Login

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