Hot answers tagged qt
It's indeed not yet hooked up to the backend yet (atm you can only get such sensor events using the platform-api directly). I included a story in the Phone Foundations backlog to hook this into Qt.
This is answer sudo apt-get install qt5-doc
Install dependencies sudo apt-get install git cmake g++ libqt4-dev qtbase5-dev qttools5-dev \ qttools5-dev-tools qtquick1-5-dev qtscript5-dev libqt5xmlpatterns5-dev \ libqt5svg5-dev libqt5webkit5-dev libssl-dev UPDATE: Qt5.4 is now required. This is not in the default repositories.Check if you already have Qt 5.4 by typing qmake -version in a ...
The one of following command lines which one you should install using the terminal: 14.04: sudo apt-get install libegl1-mesa-drivers 14.10: sudo apt-get install libegl1-mesa-drivers-lts-utopic It will remove and update some programs automatically. Then, you yourself can install QT Creator w/o removing some programs you do not want. No Sweat! Vote ...
This would be the appropriate API I guess, however, it doesn't seem to be hooked up to the backend yet. At least for me right now it it seems to give random values. http://doc.qt.io/qt-5/qml-qtsensors-ambientlightsensor.html I think a bug report might be appropriate at this point.
Only top voted, non community-wiki answers of a minimum length are eligible