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. QDnsLookupRunnable not supported on android
Forum Updated to NodeBB v4.3 + New Features

QDnsLookupRunnable not supported on android

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.1k Views 2 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.
  • musimbateM Offline
    musimbateM Offline
    musimbate
    wrote on last edited by
    #1

    Hello ,
    I am trying to connect to the xmpp server like this

    ** m_xmppClient.configuration().setAutoAcceptSubscriptions(false);
    m_xmppClient.configuration().setAutoReconnectionEnabled(false);
    m_xmppClient.configuration().setDomain("mthinkpad");
    m_xmppClient.configuration().setIgnoreSslErrors(false);
    m_xmppClient.configuration().setStreamSecurityMode(QXmppConfiguration::StreamSecurityMode::TLSDisabled);
    m_xmppClient.configuration().setUseNonSASLAuthentication(false);
    m_xmppClient.configuration().setUseSASLAuthentication(false);
    m_xmppClient.connectToServer(m_xmppClient.configuration());**

    and it is working well on desktop platforms but when I try to connect from the android device I get the following error:

    W/Qt ( 6745): kernel\qdnslookup_android.cpp:51 (static void QDnsLookupRunnable::query(int, const QByteArray&, QDnsLookupReply)): static void QDnsLookupRunnable::query(int, const QByteArray&, QDnsLookupReply) Not yet supported on Android **

    In the application output.I am using qt 5.2 for android on windows7 and I am wondering if Dns lookup is working already on qt 5.4.

    Thanks for your time.

    Why join the navy if you can be a pirate?-Steve Jobs

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      From a quick look at the sources, it does seem to be yet

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • musimbateM Offline
        musimbateM Offline
        musimbate
        wrote on last edited by musimbate
        #3

        Thanks for the reply , I found out the hard way by installing Qt 5.4 and trying it.The problem is still there .Guess I have to find workarounds . The UI looks way better than Qt 5.2 though .Worth the effort :-).

        Why join the navy if you can be a pirate?-Steve Jobs

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Well… If you find a workaround then you should consider implementing it ;)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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