当前位置: 技术问答>linux和unix
有关konqueror
来源: 互联网 发布时间:2016-07-29
本文导语: 有研究过konqueror的大侠么?想知道它的运行过程,尤其是启动的时候 | 在QPE环境下运行Konqueror 在编译Konqueror时,执行以下命令: cd konqueror-embedded-snapshot-20030705 export QTDIR=/arm_files/qt export QPED...
有研究过konqueror的大侠么?想知道它的运行过程,尤其是启动的时候
|
在QPE环境下运行Konqueror
在编译Konqueror时,执行以下命令:
cd konqueror-embedded-snapshot-20030705
export QTDIR=/arm_files/qt
export QPEDIR=/arm_files/qtopia
export TMAKEDIR=/arm_files/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
export AR=arm-linux-ar
export STRIP=arm-linux-strip
export RANLIB=arm-linux-ranlib
export CXX=arm-linux-g++
export CCC=arm-linux-c++
export CC=arm-linux-gcc
export CROSS_COMPILE=1
export PATH=$PATH:/usr/local/arm/2.95.3/bin:$PATH
export INSTALL=/usr/local/arm/2.95.3
make clean
./configure --host=arm-linux --target=arm-linux --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug --enable-ftp --enable-static --disable-shared --disable-mt --with-extra-libs=/usr/local/arm/2.95.3/lib:$QPEDIR/lib --with-extra-includes=/usr/local/arm/2.95.3/include:$QPEDIR/include -without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=/armsys2440/qt_arm/qtopia
make
具体的环境变量设置仅供参考。
编译完毕之后,拷贝五个文件到设备的文件系统中去:
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror /arm_files/fs/root_2440_mouse/opt/qtopia/bin
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror.desktop /arm_files/fs/root_2440_mouse/opt/qtopia/apps/Applications
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror.png /arm_files/fs/root_2440_mouse/opt/qtopia/pics
cp konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/khtml/css/html4.css /arm_files/fs/root_2440_mouse/opt/kde/share/apps/khtml/css/html4.css
cp konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kdecore/charsets /arm_files/fs/root_2440_mouse/opt/kde/share/config/charsets
然后在若要开机自动运行,则应在Rc.d文件中的qtopia启动之后,运行:
export HOME=/root
export QTDIR=/opt/qt
export QPEDIR=/opt/qtopia
export KDEDIR=/opt/kde
export QWS_KEYBOARD="USB:/dev/input/event1"
export QWS_MOUSE_PROTO="USB:/dev/input/mouse0"
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib
$QPEDIR/bin/konqueror
在编译Konqueror时,执行以下命令:
cd konqueror-embedded-snapshot-20030705
export QTDIR=/arm_files/qt
export QPEDIR=/arm_files/qtopia
export TMAKEDIR=/arm_files/tmake
export TMAKEPATH=$TMAKEDIR/lib/qws/linux-arm-g++
export PATH=$QTDIR/bin:$QPEDIR/bin:$TMAKEDIR/bin:$PATH
export AR=arm-linux-ar
export STRIP=arm-linux-strip
export RANLIB=arm-linux-ranlib
export CXX=arm-linux-g++
export CCC=arm-linux-c++
export CC=arm-linux-gcc
export CROSS_COMPILE=1
export PATH=$PATH:/usr/local/arm/2.95.3/bin:$PATH
export INSTALL=/usr/local/arm/2.95.3
make clean
./configure --host=arm-linux --target=arm-linux --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug --enable-ftp --enable-static --disable-shared --disable-mt --with-extra-libs=/usr/local/arm/2.95.3/lib:$QPEDIR/lib --with-extra-includes=/usr/local/arm/2.95.3/include:$QPEDIR/include -without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=/armsys2440/qt_arm/qtopia
make
具体的环境变量设置仅供参考。
编译完毕之后,拷贝五个文件到设备的文件系统中去:
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror /arm_files/fs/root_2440_mouse/opt/qtopia/bin
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror.desktop /arm_files/fs/root_2440_mouse/opt/qtopia/apps/Applications
cp konqueror-embedded-snapshot-20030705/konq-embed/src/konqueror.png /arm_files/fs/root_2440_mouse/opt/qtopia/pics
cp konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/khtml/css/html4.css /arm_files/fs/root_2440_mouse/opt/kde/share/apps/khtml/css/html4.css
cp konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kdecore/charsets /arm_files/fs/root_2440_mouse/opt/kde/share/config/charsets
然后在若要开机自动运行,则应在Rc.d文件中的qtopia启动之后,运行:
export HOME=/root
export QTDIR=/opt/qt
export QPEDIR=/opt/qtopia
export KDEDIR=/opt/kde
export QWS_KEYBOARD="USB:/dev/input/event1"
export QWS_MOUSE_PROTO="USB:/dev/input/mouse0"
export PATH=$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib
$QPEDIR/bin/konqueror