星期三, 7月 16, 2008

apt-get got gpgv error on debian-mipsel

1. get ntpdate
2. ntpdate time.stdtime.gov.tw
3. run `apt-get update` should be fine.

星期六, 7月 12, 2008

Qt4.4.0 + Eclipse CDT

Finally, I make my decision to transfer from Visual Stdio + Qt to Eclipse + Qt for cross-platform & singal UI.

Here is my install steps.

1. get the qt4.4.0 windows binary version. (Mingw can also installed while qt4.4.0 installing.)
2. get qt for eclipse plugin
3. get Eclipse + CDT latest version.
4. install all on C:\Develop (Qt4: c:\develop\qt4, Eclipse: c:\develop\eclipse)
5. set PATH=c:\mingw\bin;c:\develop\qt4\bin
6. set INC=c:\mingw\lib;c:\develop\qt4\lib
7. set include=c:\mingw\include;c:\develop\qt4\include
8. done

PS: debug libs are not included. user has to build by own througth 'qtvars.bat compile_debug'

reference: http://labs.trolltech.com/blogs/2007/07/11/develop-qt-applications-in-eclipse/

星期四, 7月 10, 2008

Qt4.4.0 with Visual C++ 2005 express on Windows

just a little bit different from Qt4.4.0 with VC6.

My experience about compiling Qt 4.4.0 with Visual C++ 2005 on Windows is as below.

1. Get the Qt 4.4.0 source from Trolltech
2. extrat the source pack to c:\qt4-src
3. set environment variable
PATH=%PATH%;c:\qt4\bin
QTDIR=c:\qt4
QMAKESPEC=win32-msvc2005
4. Get Platform SDK 2003 R2 & Install
5. run visual studio command mode & call %PLATFORMSDK%\setenv.bat /RETAIL
6. cd c:\qt4-src
7. copy the qt4-src/mksepc/ to qt4/mkspec
8. configure.exe -prefix c:\qt4 (see more options by using "configure -help")
9. run 'nmake' to compiling the source, wait 1hr (CPU - C2D 1.83G).
10. finally, we got what we expect.

PS: using vc 2005 compiler will get MMX, SSE, SSE2, WEBKIT support.

星期三, 7月 09, 2008

Qt4.4.0 with Visual C++ 6.0 on Windows

Qt support compiler on Windows other than Mingw from Qt 4.3.x, but user has to compile the source by own.

My experience about compiling Qt 4.4.0 with Visual C++ 6.0 on Windows is as below.

1. Get the Qt 4.4.0 source from Trolltech
2. extrat the source pack to c:\qt4-src
3. set environment variable
PATH=%PATH%;c:\qt4\bin
QTDIR=c:\qt4
QMAKESPEC=win32-msvc
4. cd c:\qt4-src
5. copy the qt4-src/mksepc/ to qt4/mkspec
6. configure.exe -prefix c:\qt4 (see more options by using "configure -help")
7. run 'nmake' to compiling the source, wait 1hr (CPU - C2D 1.83G).
8. finally, we got what we expect.

星期二, 7月 08, 2008

Debian on mipsel projects (1)

Debian commands memo:

1. debootstrap
2. debfrost
3. deborphan
4. apt-utils
5. aptitude
6. dpkg-reconfigure
7. update-rc.d
8. rcconf (like: ntsysv)
9. localpurge

Debian from scrath:
1. dfsbuild

Myth TV: