Sensors library missing in android
-
Hi,
im making simple app (pacman-like) in pure QML and JS (no C).I tried to add sensors but neither of them (tilt, proximity) worked, it always says
...'libQt5Sensors.so' not found
I tried packing for ministro and integrating, neither worked.
Im using QT 5.2. Can you help me please?
-
Have you included the following statement in your .PRO file? :
QT += sensors
-
Didnt know i should. I tried to append it at the end of file but same error as before.
Here: https://dl.dropboxusercontent.com/u/12063254/pacman.zip is my project if someone could take a look.
-
I will be gratefull even for some sample project using QT 5.2 and sensors, please?
-
One very didactical is Accel Bubble :
http://qt-project.org/doc/qt-5/qtsensors-accelbubble-example.html
For working on iOS, I've made some minor modifications in the .PRO file :
QT += quick sensors svg xml
QTPLUGIN += qtsensors_ios qsvgBut it works both on Android and iOS.
-
Ok, i added those line into pri (not pro?) in new project and it seems to be working just fine.
Thanks