Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT WebEngine devicemotion eventlistener - no values after init
Miky last edited by Miky
i tried to load a - local html / a remote http and a https with webview, but the eventlistener never answered with values like event.acceleration.x. works with normal browser (https://timvolodine.github.io/deviceorientation-test/)
i tried with setHTML to add the eventlistener directly in WebEngineView but same result.
i trie to setAttributes but there is only one for geolocation. i need access to Gyroscope,Magnetometer and Accelerometer .
i tried to use arguments like --enable-web-security .. nothing changed
or something similar.
Maybe direct Gyroscope / Sensor access from Python? acceleration.x
Tried QAccelerometer() class but no chance
best regards and thanks