Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtNetwork/ what is the difference
Forum Updated to NodeBB v4.3 + New Features

QtNetwork/ what is the difference

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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 Offline
    P Offline
    pascal95abc
    wrote on 26 Mar 2013, 18:00 last edited by
    #1

    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
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 26 Mar 2013, 18:41 last edited by
      #2

      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
      0

      1/2

      26 Mar 2013, 18:00

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved