Details
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
- is duplicated by
-
PYSIDE-2464 Missing QtHttpServer
- Closed
For Gerrit Dashboard: PYSIDE-2402 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
492486,3 | Enable DBus/HttpServer on Windows | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
492570,4 | Disable generation of bindings for protected methods with disabled wrapper | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
492679,2 | Disable generation of bindings for protected methods with disabled wrapper | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
493671,2 | Enable DBus/HttpServer on Windows | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |