Uploading an xml file to Qt app
-
@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
-
@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?
-
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.