world leader in high performance signal processing
Trace: » konqueror

Konqueror3 Embedded

Konqueror is obsolete since 2009R1 release.

The Konqueror/Embedded project attempts to build up a special version of the web browsing component of the KDE browser Konqueror. Konqueror/Embedded runs on the Qt/Embedded platform for embedded devices, in an environment without a KDE installation or a X windowing system, as one static binary, being as small as possible while still providing all essential features of a web browser.

Konqueror3 embedded is ported to Blackfin Linux. To build Konqueror3 for Blackfin Linux:

  1. Download Blackfin Linux toolchain and uClinux-dist source tarball.
  2. Build kernel with any kind of frame buffer driver support.
  3. Build libz, libpng and libjpeg libraries.
  4. Download and build QT embedded free 3.3.5 library. Refer to qt for details.
  5. Download Konqueror3 embedded 0.2(20060121) source tarball from http://www.cirulla.net/kdenox-snapshots/
  6. Extract source code.
    ~> tar xvfj konqueror3-embedded-0.2-20060121.tar.bz2
  7. Apply the patch for Blackfin Linux.
    ~> cd /your-konqueror3-embedded/
    ~> patch -p1 < /your-uClinux-dist/bfin_patch/konqueror3_embedded_patch/konqueror3-embedded-bfin-0.2.patch
  8. Configure konqueror and build
    • To build FLAT static binary.
      ~> ./configure --host bfin-uclinux --disable-debug --disable-shared --enable-static --enable-qt-embedded --disable-dynamic-ssl
      --enable-embedded --disable-dlopen  --with-qt-dir=/your-qt-embedded-free/qt-embedded-free-3.3.5 -without-ssl 
      --disable-rpath --disable-printing  --disable-pcre LDFLAGS="-static -Wl,-elf2flt" CFLAGS="-D__linux__ -DNOMMU 
      -DQT_THREAD_SUPPORT" CXXFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" CPPFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" 
      --with-extra-libs=/your-uClinux-dist/staging/usr/lib/ --with-extra-includes=/your-uClinux-dist/staging/usr/include
      ~> make
    • To build FDPIC binary with shared library.
      ~> ./configure --host bfin-linux-uclibc --disable-debug --enable-shared --disable-static --enable-qt-embedded 
      --enable-embedded --with-qt-dir=/your-qt-embedded-free/qt-embedded-free-3.3.5 -without-ssl 
      --disable-rpath --disable-printing  --disable-pcre LDFLAGS="-mfdpic" CFLAGS="-D__linux__ -DNOMMU 
      -DQT_THREAD_SUPPORT" CXXFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" CPPFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" 
      --with-extra-libs=/your-uClinux-dist/staging/usr/lib/ --with-extra-includes=/your-uClinux-dist/staging/usr/include
      ~> make
  9. Copy konqueror to the filesystem on blackfin.
    • For FLAT static konqueror
      ~/your-uclinux-dir> cp /your-konqueror3-embedded/konq-embed/src/konqueror romfs/
    • For FDPIC konqueror with shared QT library
      ~/your_uclinux_dir> cp ../your_qt_dir/lib/libqte-mt.so.3.3.5 romfs/lib
      ~/your_uclinux_dir> ln -s romfs/lib/libqte-mt.so.3.3.5 romfs/lib/libqte-mt.so.3.3
      ~/your_uclinux_dir> ln -s romfs/lib/libqte-mt.so.3.3.5 romfs/lib/libqte-mt.so.3
      ~/your_uclinux_dir> ln -s romfs/lib/libqte-mt.so.3.3.5 romfs/lib/libqte-mt.so
      ~/your-uclinux-dir> cp /your-konqueror3-embedded/konq-embed/src/.lib/konqueror romfs/
  10. Copy css file to kde directory in rootfs image.
    ~> cd /your-uClinux-dist/
    ~> mkdir romfs/kde/share/apps/khtml/css/
    ~> cp /your-konqueror3-embedded/konq-embed/kdesrc/khtml/css/html4.css romfs/kde/share/apps/khtml/css/
  11. Configure and connect your mouse.
    • For serial mouse, connect to the UART0. Look at setup_serial_mouse. Make sure you disable the console on UART0 before you build.
    • For USB mouse, connect to the USB daughter board. Look at usb_ez-extender. Make sure your USB interrupt GPIO setting not conflict with video controller and driver.
  12. Boot uClinux kernel on your board.
  13. Start dhcp daemon.
    ~> dhcpcd &
  14. Set up mouse protocol for QT library.
    • For serial mouse.
      ~> stty -F /dev/ttyBF0 ispeed 1200 cs7 -icanon
      ~> export QWS_MOUSE_PROTO=Microsoft:/dev/ttyBF0
    • For USB mouse.
      ~> export QWS_MOUSE_PROTO=Auto:/dev/input/event0
  15. Configure to run konqueror.
    ~> export QTDIR=/usr/local/qt-embedded
    ~> export KDEDIR=/kde
    ~> ./konqueror -qws http://www.kde.org &
  16. Maximize the main window and click button “Home”. The browser will connect to www.kde.org and show the main page of that web site.

If you want to build static FLAT konqueror, you should choose [(FLAT) binary format] in configure menu [User/Vendor setting] before you build uClinux-dist. If you want to build elf konqueror with shared libraries, you should choose [(FDPIC) binary format] in configure menu [User/Vendor setting] before you build uClinux-dist.

If you want to build static FLAT konqueror, you should remove all FDPIC shared library files (libqte-mt.so*) in the qt-embedded-free lib folder.

konqueror3_kde_page.jpg