⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 很好的QT编程指南和代码
💻 TXT
字号:
Compile QTE and Qtopia for Sitsang:
Version: qte 2.3.2, qtopia 1.5.0 all are free version.

Prepare:
	get tslib.tar.bz2
	get qt-embedded-2.3.2.tar.gz
	get qtopia-1.5.0.tar.gz
	
Step 0: 
	%cd tslib
	%export CC=arm-linux-gcc
	%./autogen.sh
	%make
	%cp -a src/.libs/* ../qt-2.3.2/lib/
	%cp -a plugins/.libs/*.so ../qt-2.3.2/lib/
	
Step 1:
	%export QTDIR=`pwd`/qt-2.3.2
	%cd $QTDIR
	%patch -p0 -s <qte232-for-qpe150.patch
	%./configure -system-jpeg -gif -xplatform linux-sitsang-g++    #if using -thread, the libqte-mt will be 5M
	make
Step 2:
	%export QPEDIR=`pwd`/qtopia-free-1.5.0
	%cd $QPEDIR
	%./configure -xplatform linux-sitsang-g++
	<note you need to install byacc-1.9-12 for compile it>
	%make
Step 3:After building, libqte.so* will locate in $QTDIR/lib, all applicaiton in $QPEDIR/bin
    %arm-linux-strip -R .note -R .comment bin/*
    %arm-linux-strip -R .note -R .comment $QTDIR/lib/libqte.so* $QTDIR/lib/libqpe.so*
    %arm-linux-strip -R .note -R .comment plugins/*/*
    
Step 4:
        %mkdir dist
        %cd dist
        %cp -aR ../qt-2.3.2/lib/ .
        %cp -aR ../qtopia-free-1.5.0/apps .
        %cp -aR ../qtopia-free-1.5.0/bin .
        %cp -aR ../qtopia-free-1.5.0/plugins .
        %cp -aR ../qtopia-free-1.5.0/i18n .
        %cp -aR ../qtopia-free-1.5.0/pics . #Security.png is wrong, pls do as following:   %pngtopnm Security.png>a.pnm ;%pnmtopng a.pnm>Security.png



	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -