next up previous contents
Next: About this document ... Up: QtEmbedded porting Previous: 撰寫自己的 Qt embedded 程式   Contents

target board

  1. 將 QtEmbedded 目錄複製到 target board
    [root@dyH ~]# mkdir -p /media/targetboard/usr/local/Trolltech
    [root@dyH ~]# cp -a /usr/local/Trolltech/QtEmbedded-4.5.3-arm /media/targetboard/usr/local/Trolltech
    
  2. 建立環境變數
    [root@dyH ~]# vim /media/targetboard/root/armexport.sh
    
    $ export QTDIR=/usr/local/Trolltech/QtEmbedded-4.5.3-arm
    $ export PATH=$QTDIR/bin:$PATH
    $ export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    
  3. 變更 armexport.sh 屬性為可執行
    [root@dyH ~]# chmod a+x /media/targetboard/root/armexport.sh
    
  4. 使用觸控螢幕



2015-01-16