Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Network supported platforms?
Forum Updated to NodeBB v4.3 + New Features

Qt Network supported platforms?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 357 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.
  • I Offline
    I Offline
    Ilya Bizyaev
    wrote on last edited by
    #1

    Hello!

    I was going to use QXmpp in my application as it seemed to align most with Qt and support all platforms Qt does. However, when I launch my app on Android, I get this warning:
    Not yet supported on Android

    After some investigation, I found this: http://code.qt.io/cgit/qt/qtbase.git/tree/src/network/kernel/qdnslookup_android.cpp. Before I was using gloox, which, despite using no frameworks, can work on both Android and iOS.

    Does this mean I cannot use Qt Network on all platforms? What platforms are supported then? Is it planned to add support for Android, or are there some blockers?

    K 1 Reply Last reply
    0
    • I Ilya Bizyaev

      Hello!

      I was going to use QXmpp in my application as it seemed to align most with Qt and support all platforms Qt does. However, when I launch my app on Android, I get this warning:
      Not yet supported on Android

      After some investigation, I found this: http://code.qt.io/cgit/qt/qtbase.git/tree/src/network/kernel/qdnslookup_android.cpp. Before I was using gloox, which, despite using no frameworks, can work on both Android and iOS.

      Does this mean I cannot use Qt Network on all platforms? What platforms are supported then? Is it planned to add support for Android, or are there some blockers?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Ilya-Bizyaev

      IMHO it is a bit stretched too far that you cannot use QNetwork on all devices because one particular functionality is missing.

      There are a lot of different things not available on all platforms. Some of them make only sense onsome platforms, while others are difficult to implement on one particular platform.

      You can use QNetwork module for sure on Android, but this functionality is missing. A result could be that the application based on Qt cannot work or has to look for a by-pass.

      In order to find out if there is a plan to add the functionality it is better to check on the bug tracker JIRA. This would give also a possibility to vote for the feature and raises the awareness that people are looking for it.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • I Offline
        I Offline
        Ilya Bizyaev
        wrote on last edited by Ilya Bizyaev
        #3

        I don't think I've stretched anything: if I cannot perform DNS lookup on Android, I'll have to use a different backend that does not rely on Qt Network.

        I've found an unanswered bug report on JIRA (https://bugreports.qt.io/browse/QTBUG-56143), but it doesn't really help.

        I still need to know how well Qt Network is supported on other platforms.

        1 Reply Last reply
        0

        • Login

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