QtNetwork/ what is the difference



  • Hello,

    what is the difference between including
    QFtp
    and
    QtNetwork/QFtp
    ?

    Both link to a one line file with #include "qftp.h"
    which links to
    QtSDK/Symbian/SDKs/Symbian1Qt473/include/QtNetwork/qftp.h

    "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?

    Thank you


  • Moderators

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.