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. Uploading an xml file to Qt app
QtWS25 Last Chance

Uploading an xml file to Qt app

Scheduled Pinned Locked Moved Solved General and Desktop
xmlfileuploadread
7 Posts 3 Posters 2.5k 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.
  • L Offline
    L Offline
    Lasith
    wrote on 3 Oct 2017, 11:15 last edited by
    #1

    In my Qt c++ application I want to upload a xml file and read it(not reading the file from outside but only after its uploaded)! What are the ways that I can use?

    K 1 Reply Last reply 3 Oct 2017, 15:15
    0
    • L Lasith
      3 Oct 2017, 11:15

      In my Qt c++ application I want to upload a xml file and read it(not reading the file from outside but only after its uploaded)! What are the ways that I can use?

      K Offline
      K Offline
      koahnig
      wrote on 3 Oct 2017, 15:15 last edited by
      #2

      @Lasith

      Take your pick
      there are also plenty of examples

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

      L 1 Reply Last reply 3 Oct 2017, 18:01
      1
      • K koahnig
        3 Oct 2017, 15:15

        @Lasith

        Take your pick
        there are also plenty of examples

        L Offline
        L Offline
        Lasith
        wrote on 3 Oct 2017, 18:01 last edited by
        #3

        @koahnig yeah but this is about uploading a file how can I do it?

        1 Reply Last reply
        0
        • P Offline
          P Offline
          Pablo J. Rogina
          wrote on 3 Oct 2017, 18:27 last edited by Pablo J. Rogina 10 Mar 2017, 18:27
          #4

          @Lasith said in Uploading an xml file to Qt app:

          In my Qt c++ application I want to upload a xml file

          So is it your Qt C++ application a file server able to accept HTTP POST requests?

          What do you mean by uploading? I guess that previous post like me we're expecting a Qt application to be a desktop one (or if you like, an Android/iOS mobile app) so anyway the idea for us is to read the XML file from local filesystem

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          L 1 Reply Last reply 4 Oct 2017, 01:40
          2
          • P Pablo J. Rogina
            3 Oct 2017, 18:27

            @Lasith said in Uploading an xml file to Qt app:

            In my Qt c++ application I want to upload a xml file

            So is it your Qt C++ application a file server able to accept HTTP POST requests?

            What do you mean by uploading? I guess that previous post like me we're expecting a Qt application to be a desktop one (or if you like, an Android/iOS mobile app) so anyway the idea for us is to read the XML file from local filesystem

            L Offline
            L Offline
            Lasith
            wrote on 4 Oct 2017, 01:40 last edited by
            #5

            @Pablo-J.-Rogina I am developing a stand alone QT app(desktop application)!! so I can't use http post requests right? what can I use to upload and read a file?

            K 1 Reply Last reply 4 Oct 2017, 09:57
            0
            • L Lasith
              4 Oct 2017, 01:40

              @Pablo-J.-Rogina I am developing a stand alone QT app(desktop application)!! so I can't use http post requests right? what can I use to upload and read a file?

              K Offline
              K Offline
              koahnig
              wrote on 4 Oct 2017, 09:57 last edited by
              #6

              @Lasith

              You need to check out QNetworkAccessManager respectively the network examples

              With that you can use your Qt desktop app to upload data files to a server somewhere or download from a server with your app.

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

              L 1 Reply Last reply 4 Oct 2017, 11:16
              1
              • K koahnig
                4 Oct 2017, 09:57

                @Lasith

                You need to check out QNetworkAccessManager respectively the network examples

                With that you can use your Qt desktop app to upload data files to a server somewhere or download from a server with your app.

                L Offline
                L Offline
                Lasith
                wrote on 4 Oct 2017, 11:16 last edited by
                #7

                @koahnig Thanx mate

                1 Reply Last reply
                0

                5/7

                4 Oct 2017, 01:40

                • Login

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