![]() |
2010-03-31
, 12:43
|
Posts: 62 |
Thanked: 97 times |
Joined on Dec 2009
@ Finland, Kerava
|
#11
|
![]() |
2010-07-28
, 17:02
|
Posts: 1 |
Thanked: 4 times |
Joined on Jul 2010
|
#12
|
export SYSR=~/.madde/0.6.72/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim
cp -r /usr/include/qjson ${SYSR}/usr/include
scp n900:/usr/lib/libqjson* ${SYSR}/usr/lib
scp n900:/var/lib/dpkg/info/libqjson.* ${SYSR}/var/lib/dpkg/info/
CONFIG += link_pkgconfig PKGCONFIG += QJson
![]() |
2010-11-08
, 20:16
|
Posts: 9 |
Thanked: 2 times |
Joined on Oct 2010
|
#13
|
scp root@n900:/usr/lib/pkgconfig/QJson.pc ${SYSR}/usr/lib/pkgconfig/
![]() |
2011-02-15
, 16:45
|
Posts: 279 |
Thanked: 293 times |
Joined on Oct 2009
@ Italy
|
#14
|
Thanks to w00t_ on irc I found this thread.
I got it to work with w00t_s help, but I had to do 2 extra steps:
install libqjson-dev on the device
and copy the *.pc file so QJson is found when running qmake.
Code:scp root@n900:/usr/lib/pkgconfig/QJson.pc ${SYSR}/usr/lib/pkgconfig/
![]() |
2011-06-30
, 14:52
|
Posts: 249 |
Thanked: 277 times |
Joined on May 2010
@ Brighton, UK
|
#15
|
The Following User Says Thank You to mr_jrt For This Useful Post: | ||
![]() |
2012-12-15
, 07:46
|
Posts: 1,463 |
Thanked: 1,916 times |
Joined on Feb 2008
@ Edmonton, AB
|
#16
|
![]() |
2013-02-12
, 14:15
|
Posts: 114 |
Thanked: 298 times |
Joined on Jan 2011
@ Berlin
|
#17
|
APT::Archives::MaxAge "30"; APT::Archives::MinAge "2"; APT::Archives::MaxSize "500"; APT::Architecture "armel"; Dir::Etc::SourceList "$MADDEROOT/apt/sources.list"; Dir::State::Lists "$MADDEROOT/apt/lists"; Dir::Cache::Archives "$MADDEROOT/apt/cache"; DPkg::Options:: {"--admindir=$MADDEROOT/apt/dpkg";};
#!/bin/sh case "$1" in update) /usr/bin/apt-get -c $SYSROOT_DIR/../../apt/apt.conf update ;; install) shift cd $SYSROOT_DIR/../../apt/cache/ /usr/bin/apt-get -c $SYSROOT_DIR/../../apt/apt.conf download $* for i in *FAILED ; do mv $i `basename $i .FAILED` done for i in *.deb ; do mkdir -p $i.tmp ar x $i data.tar.gz mv data.tar.gz $i.tmp cd $i.tmp && tar xf data.tar.gz && rm data.tar.gz && cd .. rsync -a $i.tmp/ $SYSROOT_DIR/ done ;; *) echo "mad apt-get (install pkbnames | update)" ;; esac
deb http://repository.maemo.org/extras/ fremantle free non-free deb http://repository.maemo.org/extras-testing/ fremantle free non-free deb http://repository.maemo.org/extras-devel/ fremantle free non-free #plus whatever you like