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

PySide6.QtHttpServer not available on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.6.0
    • 6.5.1.1
    • PySide
    • None
    • Windows
    • fde182c04 (dev), 15c3f3c1a (6.5), 34f190216 (dev), 8aec6298e (6.5)

    Description

      Hi,

      I'm trying to write a cross platform Qt app that exposes QtHttpServer and found out that it works only on Linux and MacOS but the module seems not to be compiled in as the test fails with: ModuleNotFoundError: No module named 'PySide6.QtHttpServer'

      I've written a small reproducer project that uses pytest-qt: https://github.com/wiktor-k/qhttp-test

      As you can see in recent action runs the test fail because QtHttpServer is not available on Windows: https://github.com/wiktor-k/qhttp-test/actions/runs/5619980651/job/15228049614

      (this has been reported to me by a Windows developer previously: https://github.com/pytest-dev/pytest-qt/issues/509#issuecomment-1643764003 and I only made a reproducer that runs on MacOS and Windows to show the issue)

      Is this a bug or a known issue? (I did search existing issues with QtHttpServer but found no match, and the documentation at https://pypi.org/project/PySide6-Addons/ or in https://doc.qt.io/qtforpython-6/PySide6/QtHttpServer/QHttpServer.html doesn't mention this limitation).

      Thank you for your time!

      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
              wiktork Wiktor Kwapisiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes