Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtNetwork/ what is the difference
pascal95abc last edited by
what is the difference between including
Both link to a one line file with #include "qftp.h"
which links to
"Here":http://www.qtfr.org/viewtopic.php?id=4127 it was explained to replace QtNetwork/QFtp with QFtp which helped for me, too. But what is the difference?
The official story is that there is no difference. Writing just "QClass" is shorter and more portable (on very rare occasions some classes might change the module they belong to).
Less officially, you can use QtModule/QClass to avoid including the whole module in .pro file. Does not always work, but might. And is not really recommended.