Qt Network supported platforms?
-
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?
-
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?
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.
-
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.