2011年9月22日 星期四

Build qjson with Qt4 for ARM

Build qjson (JSON Library for Qt4) with Qt4 for ARM

1. download qjson source code from official website
    - http://gitorious.org/qjson

2. set cmake configure file to find a specific Qt4 source
    - extract file and enter the folder
    - edit CMakeList.txt and add the following sentence before FIND_PACKAGE( Qt4 REQUIRED )
set( DESIRED_QT_VERSION 4 )
set( QT_QMAKE_EXECUTABLE "/home/qt-everywhere-opensource-src-4.7.4-Embedded/bin/qmake" ) - set this by your environment
set( QT_QMAKE_LOCATION "/home/qt-everywhere-opensource-src-4.7.4-Embedded/bin" ) - set this by your environment
FIND_PACKAGE( Qt4 REQUIRED )
3. compile qjson source code
    - cmake -DCMAKE_INSTALL_PREFIX=path_to _install_qjson/
    - make
    - make install

2011年9月21日 星期三

Build SDK - qt-everywhere-opensource-src-4.7.4 for ARM


How to Build SDK - qt-everywhere-opensource-src-4.7.4 for ARM

Prepare working - Dependency Libraries

(download them from official website)
1. tslib - https://github.com/kergoth/tslib
2. openssl-1.0.0e - http://www.openssl.org/source/
3. libpng-1.2.46 - http://www.libpng.org/pub/png/libpng.html

compile them and put them to your cross compiler library directory.


Building Qt-4.7.4 SDK

1. download Qt libraries 4.7.4 for embedded Linux (202 MB) from http://qt.nokia.com/downloads
2. extract file and enter the folder
3. If you want to compile some plugin libraries together, please put them into qt library plugin folder.
    (Qt library plugin folder  "./qt-everywhere-opensource-src-4.7.4-Embedded/src/plugins")
4. setting configure - my setting parameters
./configure -prefix /usr -xplatform qws/linux-arm-g++ -embedded arm -developer-build -opensource -confirm-license -fast -qt-sql-sqlite -no-qt3support -no-phonon -no-phonon-backend -qt-freetype -system-libpng -no-libmng -qt-libjpeg -no-rpath -no-nis -no-cups -separate-debug-info -openssl -no-opengl -little-endian -nomake examples -nomake demos -accessibility -plugin-gfx-liunxfb -plugin-mouse-tslib -L/usr/local/arm/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/lib/ -I/usr/local/arm/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/include -L/usr/local/arm/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/usr/lib/ -I/usr/local/arm/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/usr/include -D QT_KEYPAD_NAVIGATION -verbose
5. make
6. make install ( Qt will be installed into prefix path that you set )

2011年9月6日 星期二

One Year Past ...

一年前,我從學校畢業了,結束了人生長達二十年的校園學習生涯,

身分由學生轉變為上班族,進入了新的環境,認識了新的人事物,開始了社會學習生涯,

一年後,我從社會大學學習到了什麼?獲取了一些新的知識技能,

但是自我的心境好似沒什麼改變,連自己的目標所在似乎還在摸索當中,

走一步算一步嗎?

來拚一場!值得嗎?

做自己想做的吧~如何?