Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
6.5.0
-
Windows 10 22H2, Emscripten 3.1.25, Mozilla Firefox 113.0.1, Google Chrome 113.0.5672.127
-
-
8d11e05f8 (dev), 62f83ac45 (6.5), ea4501366 (tqtc/lts-6.2)
Description
Add this line the main() function of any WASM project and run it on a device that has no touchscreen (for example, a basic desktop PC):
qDebug() << "Devices:" << QInputDevice::devices();
The browser's Developer Console will print something like this:
Devices: QList(QPointingDevice("touchscreen" TouchScreen id=1 ptrType=Finger caps=Position|Area|NormalizedPosition maxPts=10))
Attachments
Issue Links
- relates to
-
QTBUG-113711 Windows: QInputDevice::devices() returns empty list
- Reported
- resulted from
-
QTBUG-103498 wasm: touch app cannot move app with dialog titlebar
- Closed