Reply
Thread Tools
Posts: 16 | Thanked: 7 times | Joined on Mar 2011
#1
Hi,

I would like install qmake in my N900 but I don't find qmake package. Where he is ?

Thanks
 

The Following User Says Thank You to bsdmaniak For This Useful Post:
Posts: 180 | Thanked: 76 times | Joined on May 2010
#2
libqt4-dev

Why do you need qmake in N900, build the application on PC instead (using QtCreator, scratchbox etc.).
 
Posts: 16 | Thanked: 7 times | Joined on Mar 2011
#3
I need qmake in N900 because i'm developping with my phone. Thanks a lots it's this package. I added nokia-binaries repository and type apt-get install libqt4-dev and now it's work !
 
Posts: 16 | Thanked: 7 times | Joined on Mar 2011
#4
I installed libqt4-dev but qmake binary is a x86 file

file /usr/bin/qmake
/usr/bin/qmake: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked
(uses shared libs), stripped
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#5
Do you have the sdk in a chroot enviroment? Sdk repos enables aswell? Your nokia binaries repository has the token aswell?
 
Posts: 16 | Thanked: 7 times | Joined on Mar 2011
#6
I haven't sdk in chroot because i install it in my N900. SDK and nokia-binaries repositories are activates because apt-get downloaded required packages
 
clasificado's Avatar
Posts: 466 | Thanked: 180 times | Joined on Feb 2010
#7
take in account that the nokia-binaries repository isnt optified. It will fill-up your rootfs partition if you dont have precaution.
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#8
Than I really suggest you to prepare your chroot. Not only you're not messing with rootfs partition, you can back it up in your pc after it's ready and just copy it back in case of reflash.

You need the easy-chroot package installed: #apt-get install easy-chroot

Here it is how I have prepared mine:
Go to http://qole.org/files/maemo-sdk-v1_2.img.ext2.lzma to download the image archive.
http://tablets-dev.nokia.com/eula/index.php to get your personal token.
Extract the lmza file and copy the ext in MyDocs partition.
On n900 terminal:
cd /home/user/MyDocs
mkdir /floppy
qmount /home/user/MyDocs/maemo-sdk-v1_2.img.ext2 /floppy
mkdir /floppy/dev
mkdir /floppy/dev/pts
mkdir /floppy/dev/shm
mkdir /floppy/usr/share/X11
mkdir /floppy/usr/share/X11/xkb
mkdir /floppy/var/run/dbus
mkdir /floppy/var/lib/dbus
mkdir /floppy/var/run/pulse
cp /bin/busybox /floppy/bin
cp /etc/hosts /floppy/etc/hosts
cp /etc/ld.so.conf /floppy/etc/ld.so.conf
CHROOT=/floppy synchroot
echo "exit 101" > /floppy/usr/sbin/policy-rc.d
echo "deb http://repository.maemo.org/ fremantle/<your token code here> nokia-binaries" >> /floppy/etc/apt/sources.list
qumount /floppy
mkdir /sdk
qchroot /home/user/MyDocs/maemo-sdk-v1_2.img.ext2 /sdk
apt-get update
apt-get install nokia-binaries (it will take more than 1hour at least)
apt-get install libqt4-dev
apt-get install libqtm-dev
apt-get install locale-resolver-data
apt-get install posix-locales
apt-get install libi18n-locale-resolver0

and you're done. Following this, qmake is for armel architecture.

http://maemo.org/packages/package_in...9-0maemo1+0m5/ should be the armel package for qmake btw.

Last edited by gionni88; 2011-04-07 at 08:34.
 

The Following 2 Users Say Thank You to gionni88 For This Useful Post:
Posts: 11 | Thanked: 2 times | Joined on May 2010 @ China
#9
Really a good material for dev who want on device compiling, i think your post should add to wiki page for how to build up dev environment, so can more users benifit from this.

I followed your instructions, but failed at the start.
Few questions please.
1, qmount not found, where can i found it? does it func the same as mount?
2, the folder /floppy exists, does it matter?
3, while mounting sdk image, I used mount instead of qmount because i can't find qmount, but, failed to mount it, which says invalid parameters.
 
Posts: 11 | Thanked: 2 times | Joined on May 2010 @ China
#10
Originally Posted by younthu View Post
Really a good material for dev who want on device compiling, i think your post should add to wiki page for how to build up dev environment, so can more users benifit from this.

I followed your instructions, but failed at the start.
Few questions please.
1, qmount not found, where can i found it? does it func the same as mount?
2, the folder /floppy exists, does it matter?
3, while mounting sdk image, I used mount instead of qmount because i can't find qmount, but, failed to mount it, which says invalid parameters.
After i install easy chroot, everything goes smoothly.

How to install easy chroot
#apt-get install easy-chroot
 

The Following User Says Thank You to younthu For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:19.