新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > 基于ARM9的簡易數(shù)碼相框

基于ARM9的簡易數(shù)碼相框

作者: 時間:2012-08-06 來源:網(wǎng)絡(luò) 收藏

三、開發(fā)及制作過程

1. 移植QT( 版本為qt-embeddedfree-3.3.7)

QT 是一個跨平臺的 C++ 圖形用戶界面庫,是專為小型設(shè)備提供圖形用戶界面的應(yīng)用框架和窗口系統(tǒng)。它提供豐富的窗口小部件(Widgets),支持窗口部件的定制,可以為用戶提供漂亮的圖形界面。QT 是開源的圖形界面軟件,也是最流行的圖形界面之一。具體移植步驟如下:

(1) 在ftp://ftp.trolltech.com/qt/source/ 下載QT 源代碼qt-embedded-free-3.3.7.tar.gz和qt-x11- free- 3.3.7.tar.gz .

(2) 編譯qt-x11-free-3.3.7

① tar zxvf qt-x11-free-3.3.7

② cd qt-x11-free-3.3.7

③ ./configure

④ /usr/bin/gmake

(3) 交叉編譯:編譯qt-embedded-free-3.3.7

① tar zxvf qt-embedded-free-3.3.7

② c p q t - x 1 1 - f r e e - 3 . 3 . 7 / b i n / u i c q t -embedded-free-3.3.7/bin

③ c p q t - x 1 1 - f r e e - 3 . 3 . 7 / b i n / m o c q t -embedded-free-3.3.7/bin

④ cd qt-embedded-free-3.3.7

⑤ . / c o n f i g u r e - s h a r e d - t h r e a d-embedded arm -qvfb -freetype -depths4 , 8 , 1 6 , 2 4 , 3 2 - q t - g i f - q t - l i b p n g - q t -libmng -qt-libjpeg -qtopia-sqlite -no-qvfb/usr/bin/gmake

(4) 運行qt-embedded-free-3.3.7/example/hello/hello :

#cd qt-embedded-free-3.3.7/example/hello./hello –qws

如果屏幕顯示hello,就說明移植成功。



關(guān)鍵詞: 相框 數(shù)碼 簡易 ARM9 基于

評論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉