Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QtNetwork/ what is the difference

    Mobile and Embedded
    2
    2
    930
    Loading More Posts
    • 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.
    • P
      pascal95abc last edited by

      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

      Qt 4.7.3
      Symbian OS v9.4 / Symbian^1, S60 5th Edition
      on N97

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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.

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • First post
          Last post