Parse the two running Modes of Konqueror/Embedded (1)

Source: Internet
Author: User

KonquerorIt is an embedded browser that runs mainly on Linux and BSD operating systems. I have used Konqueror's two operating modes for a while.

Konqueror/Embedded can be run in the QPE-based (Qt palmtop environment) environment or in the environment. This is based on the user's specific needs. If you want to run Konqueror/Embedded on the PDA, the former is generally selected. However, if you want to run only Konqueror after the embedded device is started, and do not run other programs (usually used for control), the latter will be selected.

The following describes how to implement these two modes:

1. Run Konqueror in the qpe Environment

When compiling Konqueror, run the following command:

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-nodes des =/usr/local/arm/2.95.3/include: $ QPEDIR/include-without-ssl -- with-qt-dir = $ QTDIR -- with-qt-nodes des = $ QTDIR/include -- with-qt-libraries = $ QTDIR/lib -- with-qtopia-dir =/armsys2440/qt_arm/qtopia

Make

The specific environment variable settings are for reference only.

After compilation, copy five files to the file system of the device:

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

Then, run the following command after qtopia in the Rc. d file is started to run automatically:

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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.