![]() |
Qt and Accelerometer
http://wiki.maemo.org/Documentation/...Qt_application
Hi, I'm following the above tutorial to build a Qt application with accelerometer support on N900. After some hacks I got this application running in the scratchbox but when I try to run on device the follow error occurs: "error while loading shared libraries: libdevornot-qt-maemo.so.1: cannot open shared object file : No such file or directory"... I did not build and copy the library for the device yet... For the final installation file, do I need to build a fully static application with Qt and all shared libraries? Is there another way to get accelerometer support with Qt on Maemo? Thanks in advance. |
Re: Qt and Accelerometer
Quote:
For Qt 4.6 you don't need all of these things anymore, see this example: http://qt.gitorious.org/+qt-develope...ation/main.cpp If you want raw data you should simply read the data from this file: "/sys/class/i2c-adapter/i2c-3/3-001d/coord" EDIT: @Mods- Please move this thread to the developers sub-forum |
Re: Qt and Accelerometer
Is good way read data from coord file for control? How are data presented? XYZ? Thx for reply.
|
All times are GMT. The time now is 22:19. |
vBulletin® Version 3.8.8