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. I want to store any data from QNetworkReply
QtWS25 Last Chance

I want to store any data from QNetworkReply

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 772 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.
  • A Offline
    A Offline
    Armin
    wrote on last edited by
    #1

    Hi
    I want to store any data from QNetworkReply in directory ( like c:/armin/myApp )
    But i don't know which what member i should choose in QIODevice ?

    K 1 Reply Last reply
    0
    • A Armin

      Hi
      I want to store any data from QNetworkReply in directory ( like c:/armin/myApp )
      But i don't know which what member i should choose in QIODevice ?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Armin

      Are you looking for a general access to QNetworkReply to store the reply completely?
      The important information from a QNetworkReply you can pick directly from its interface routines and store it through any stream possibility (e.g. std::ofstream, QTextStream, ...).

      There is no direct routine to store the network completely.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • A Offline
        A Offline
        Armin
        wrote on last edited by
        #3

        @koahnig Thanks
        QTextStream is for just text and number?

        jsulmJ 1 Reply Last reply
        0
        • A Armin

          @koahnig Thanks
          QTextStream is for just text and number?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Armin As you want to store ANY data you need http://doc.qt.io/qt-5/qdatastream.html to write binary data.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3

          • Login

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