Difference between revisions of "Qtopia core howto"

From Gumstix User Wiki
Jump to: navigation, search
Line 2: Line 2:
  
  
download and unpack
+
we need qtopia to find the compiler (symlinks & path)
  
 +
  $ cd path-to/gumstix-oe/tmp/cross/bin ; for f in arm-angstrom-linux-gnueabi-*; do n=$(echo $f|cut -b 28-); ln -s $f arm-linux-$n; done
 +
  $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH
  
  $ 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/
 
  
  
 +
download and unpack
  
we need qtopia to find the compiler
 
  
 +
  $ 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/
  
  $ 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, 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 ; make ; sudo make install
  
  

Revision as of 10:53, 29 February 2008

incomplete


we need qtopia to find the compiler (symlinks & path)

 $ cd path-to/gumstix-oe/tmp/cross/bin ; for f in arm-angstrom-linux-gnueabi-*; do n=$(echo $f|cut -b 28-); ln -s $f arm-linux-$n; done
 $ PATH=$PATH:path-to/gumstix-oe/tmp/cross/bin/ ; export PATH


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/


configure, make and make install


 $ ./configure -embedded arm -little-endian -prefix /qtopia ; make ; sudo 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