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 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
    0
    • L Lasith

      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 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
      1
      • K koahnig

        @Lasith

        Take your pick
        there are also plenty of examples

        L Offline
        L Offline
        Lasith
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by Pablo J. Rogina
          #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
          2
          • Pablo J. RoginaP Pablo J. Rogina

            @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 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
            0
            • L Lasith

              @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 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
              1
              • K koahnig

                @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 last edited by
                #7

                @koahnig Thanx mate

                1 Reply Last reply
                0

                • Login

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