|
|
Zeile 116: |
Zeile 116: |
|
| |
|
| [http://doc.qt.nokia.com/4.6/qsettings.html#details] | | [http://doc.qt.nokia.com/4.6/qsettings.html#details] |
|
| |
|
| |
| == Missing MADDE libs ==
| |
|
| |
| The freemantel sysroot in madde sdk is missing some of the libs. hence the name "slim". In paticular it was missing some of the telepathy-qt4 components i wanted. Others have discussed two methods for solving this. 1. copy from scratchbox sdk. 2. install lib directly on n900 and copy from there to madde, and then from your local includes as well. I introduce a 3rd, I hope more logical approach. Copy from the scratchbox deb (so that you can avoid installing scratchbox).
| |
|
| |
|
| |
| <pre>
| |
| $ wget --mirror --no-parent --no-host-directories --cut-dirs=5 --accept *armel.deb -e robots=off http://repository.maemo.org/extras-devel/pool/fremantle-1.2/free/t/telepathy-qt4/
| |
| for i in *.deb; do dpkg-deb --extract $i `echo -n $i | sed 's/.deb//'`; done
| |
| </pre>
| |
|
| |
| There are two revisions for each package and to determine which one the MADDE SDK required we can compare some of the telepathy files already installed in the slim sysrootm. For example, the telepathy lib is already installed and if we compare the file size with the downloaded packages we can see that we need revision2:
| |
|
| |
| <pre>
| |
| $ ls -l ~/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/lib/libtelepathy-qt4.so.0.0.0
| |
| -rw-r--r-- 2 user user 2646296 2010-10-11 08:42 libtelepathy-qt4.so.0.0.0
| |
| $ ls -l ./libtelepathy-qt4-0_0.2.0-1maemo5_armel/usr/lib/libtelepathy-qt4.so.0.0.0
| |
| -rw-r--r-- 1 user user 2648944 2010-02-08 20:39 libtelepathy-qt4.so.0.0.0
| |
| $ ls -l ./libtelepathy-qt4-0_0.2.0-2maemo5_armel/usr/lib/libtelepathy-qt4.so.0.0.0
| |
| -rw-r--r-- 1 user user 2646296 2010-04-13 19:58 libtelepathy-qt4.so.0.0.0
| |
| </pre>
| |
|
| |
| telepathy-qt4/libtelepathy-qt4-dev_0.2.0-2maemo5_armel$ cp -r ./usr/include/telepathy-1.0/TelepathyQt4 /home/user/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/include/telepathy-1.0/.
| |
|
| |
| $ cp ./libtelepathy-qt4-0_0.2.0-1maemo5_armel/usr/lib/libtelepathy-qt4.so.0* /home/user/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/lib/.
| |
| $ cp ./libtelepathy-qt4-dev_0.2.0-2maemo5_armel/usr/lib/libtelepathy-qt4.a /home/user/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/lib/.
| |
|
| |
| to install tpsessions open tpsession.pro root and add this:
| |
| LIBS += -L/home/user/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/lib/
| |
|
| |
| comparing symbol tables
| |
| $ ./symbtblcmp.pl objdump tpsession/tpsession-0.1/tpsession/libtpsession.so.0.1.0 ~/nokiaqtsdk/Maemo/4.6.2/targets/fremantle-1030/bin/objdump ~/nokiaqtsdk/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-1030-slim/usr/lib/libtpsession.so.0.1.0
| |