Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1160

QHostInfo.lookupHost() not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.1
    • 5.13.2
    • PySide
    • None
    • e392613181ef5d8592989addbd01f96dbebf65e8 (pyside/pyside-setup/dev) ed0a6a5e47b320ed9dadca0256b8e4b008d298c6 (pyside/pyside-setup/6.1)

    Description

      `QHostInfo` has a static method

      int QHostInfo::lookupHost(const QString &name, QObject *receiver, const char *member)
      

      which doesn't seem to be exposed via PySide2. The generated documentation makes reference to the method, though only in the class overview text generated from the C++ docs, and not in the list of methods.

      I did find a couple references to this issue on Stack Overflow, but I wasn't able to find anything in the bug tracker:

      https://stackoverflow.com/questions/12533698/using-qthostinfo-lookuphost-in-pyside

      https://stackoverflow.com/questions/21176412/pyside-qtnetwork-qhostinfo-have-no-lookuphost-method-but-documentation-says-ot

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              james_emerton James Emerton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes