Difference between revisions of "Qtopia core howto"
From Gumstix User Wiki
Line 4: | Line 4: | ||
download and unpack | download and unpack | ||
− | |||
− | $ wget ftp://ftp.trolltech.com/qt/source/qtopia-core | + | $ wget ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-4.4.0-beta1.tar.gz |
− | $ tar xfzv qtopia-core | + | $ tar xfzv tar xzvf qtopia-core-opensource-src-4.4.0-beta1.tar.gz ; cd qtopia-core-opensource-src-4.4.0-beta1/ |
Line 19: | Line 18: | ||
configure, make and make install | configure, make and make install | ||
− | + | ./configure -embedded arm -little-endian -xplatform qws/linux-arm-g++ -prefix /qtopia | |
$ ./configure -embedded arm -little-endian -prefix /qtopia -nomake examples -nomake tools -nomake demos ; make ; make install | $ ./configure -embedded arm -little-endian -prefix /qtopia -nomake examples -nomake tools -nomake demos ; make ; make install |
Revision as of 10:40, 29 February 2008
incomplete
download and unpack
$ wget ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-4.4.0-beta1.tar.gz $ tar xfzv tar xzvf qtopia-core-opensource-src-4.4.0-beta1.tar.gz ; cd qtopia-core-opensource-src-4.4.0-beta1/
we need qtopia to find the compiler
$ ln -s path-to/gumstix-oe/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++ path-to/gumstix-oe/tmp/cross/bin/arm-linux-g++ $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH
configure, make and make install
./configure -embedded arm -little-endian -xplatform qws/linux-arm-g++ -prefix /qtopia
$ ./configure -embedded arm -little-endian -prefix /qtopia -nomake examples -nomake tools -nomake demos ; make ; make install
remove debug files *.debug
tar and move it to gumstix
$ tar cfv ~/qtopia-core.tar /qtopia
gumstix: $ mkdir /qtopia ; tar xfv qtopia-core.tar -C /qtopia