Solved QHttpMultiPart: No such file or directory
-
I am trying to upload a file to a server in Multi-part and Now I got this error: QHttpMultiPart: No such file or directory.
I think I have to add some dependencies.
Is there any class or any dependencies for Multi part and I have already added QT += widgets in .pro file still same error.What I have to do to remove this error ?
-
Hi,
That a network class. You need to add
QT += network
to your .pro file.When in doubt look at the top of the class documentation there you have the module in which you can find the class.