Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!--Wmat (talk)
Please email User:Wmat if you experience any issues with the Request Account form.

Difference between revisions of "Devkit8000 QT"

From eLinux.org
Jump to: navigation, search
(Created page with "This page introduced how to port QT on [http://www.armkits.com Embest] Devkit8000 board. =Environment= ==Hardware== Item Name: Devkit8000<br> CPU: TI OMAP3530<br> DDR SD...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[Category: Linux]]
 +
[[Category: OMAP]]
 +
[[Category:Development Boards]]
 +
[[Category: Devkit8000]]
 
This page introduced how to port QT on [http://www.armkits.com Embest] [[Devkit8000]] board.
 
This page introduced how to port QT on [http://www.armkits.com Embest] [[Devkit8000]] board.
  
Line 5: Line 9:
 
Item Name: [[Devkit8000]]<br>
 
Item Name: [[Devkit8000]]<br>
 
CPU: TI OMAP3530<br>
 
CPU: TI OMAP3530<br>
DDR SDRAM: 128MB <br>
+
DDR SDRAM: 256MB <br>
Nand Flash: 128MB<br>
+
Nand Flash: 256MB<br>
 
Vendor: [http://www.armkits.com Embest]<br>
 
Vendor: [http://www.armkits.com Embest]<br>
 
DevKit8000 technical Wiki: http://elinux.org/Devkit8000<br>
 
DevKit8000 technical Wiki: http://elinux.org/Devkit8000<br>
Line 47: Line 51:
 
----<br>
 
----<br>
  
==Compile example programs===
+
==Compile example programs==
 
1. Copy target/bin/qmake to folder /bin and rename to qmake-arm; <br>
 
1. Copy target/bin/qmake to folder /bin and rename to qmake-arm; <br>
 
2. Create new folder "test" under target/examples/tutorial, and then copy cpp programs to this folder;<br>
 
2. Create new folder "test" under target/examples/tutorial, and then copy cpp programs to this folder;<br>

Latest revision as of 09:07, 15 June 2011

This page introduced how to port QT on Embest Devkit8000 board.

Environment

Hardware

Item Name: Devkit8000
CPU: TI OMAP3530
DDR SDRAM: 256MB
Nand Flash: 256MB
Vendor: Embest
DevKit8000 technical Wiki: http://elinux.org/Devkit8000
DevKit8000 webpage: http://www.armkits.com/Product/devkit8000.asp

Software development environment=

1. ubuntu 8.04
2. qtopia-core-opensource-src-4.3.5(http://www.qtcn.org/bbs/read.php?tid=3144&page=1&fpage=1)
3. arm-none-linux-gnueabi-2007q3

Compile

Preparations

  1. tar xvf qtopia-core-opensource-src-4.3.5.tar.gz
  2. cd qtopia-core-opensource-src-4.3.5

Modify mkspecs/qws/linux-arm-g++/qmake.conf file, replace all arm-linux by arm-none-linux-gnueabi

Configuration

  1. ./configure -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,16,32 -no-qt3support -prefix ${HOME}/work/qt/target -fast -qt-sql-sqlite -no-libtiff -no-libmng -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -optimized-qmake -no-nis -no-separate-debug-info -no-qvfb -qt-gfx-linuxfb -no-gfx-qvfb -qt-kbd-usb -no-kbd-qvfb -no-mouse-qvfb -no-mouse-linuxtp -qt-mouse-pc -qt-mouse-tslib

Compile & Installation

  1. make
  2. make install

Test

Preparations

1. Copy ${HOME}/work/qt/target/lib folder to Devkit8000 /opt/qtopia folder;
2. Remove unnecessary words in folder /opt/qtopia/lib/fonts (only remain cour.pfa and cursor.pfa)
3. Set environment variables
export QTOPIA=/opt/qtopia
export LD_LIBRARY_PATH=$QTOPIA/lib:$LD_LIBRARY_PATH
export PATH=$QTOPIA/bin:$PATH
export QWS_MOUSE_PROTO=tslib:/dev/input/event1
export QWS_DISPLAY="LinuxFb:mmWidth100:mmHeight130:0"
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_PLUGINDIR=/lib/ts

Run

Copy ${HOME}/work/qt/target/examples/tutorial/t1/t1 to Devkit8000 folder /opt/qtopia/bin

  1. /opt/qtopia/bin/t1 -qws(show helloworld interface)


Compile example programs

1. Copy target/bin/qmake to folder /bin and rename to qmake-arm;
2. Create new folder "test" under target/examples/tutorial, and then copy cpp programs to this folder;
3. Get into this folder
cd target/examples/tutorial/test
4. Run command (pay attention to setting cross compile tool provided by Embest
$ qmake-arm -project
$ qmake-arm
$ make