Qtextended 4.4.3 Compilation
Environment: Ubuntu 9.04, gcc4.3, G ++ 4.3, poky-eabi-glibc-i686-arm-toolchain-pinky-sdk-3.1 (arm-linux-gcc4.1.2)
Tslib: tslib1.4, SVN
Poky-env:
Export Path = $ path:/usr/local/poky/Eabi-glibc/ARM/bin/
Qtectended-env:
Export qtopia_depot_path = ~ /Qtextended/qt-extended-4.4.3/
Source/home/ENV/poky
Export qpedir = ~ /Qtextended/build/
Process:
./Home/ENV/poky
./Home/ENV/qtextended
$ Qtopia_depot_path/configure-xplatform Linux-arm-G ++-arch arm-release-displaysizes 640x480-ui-type home-extra-QT-config "-QT-zlib- qt-GIF-QT-libpng-QT-libmng-QT-libjpeg "-extra-QT-embedded-config"-Depths 16,24-QT-mouse-tslib-L/home/tslib /lib-I/home/tslib/include/-no-mouse-qvfb-no-KBD-qvfb-no-GFX-qvfb "-Prefix/opt/qtopia
Bin/qbuild
Bin/qbuild Image
Prefix image xplatformImportant Concept: After prefix is set, run/opt/qtopia/bin/qpe-qws directly.
Qt extended has been built.
You must now install QT extended by running 'bin/qbuild image '.
This will put the files required to run QT extended into the image:
/Home/JK/qtextended/build/Image
Before you can use the SDK you must finalize it by running 'bin/qbuild sdk '.
This will put the required files into the SDK:
/Home/JK/qtextended/build/SDK
Qt extended has been installed.
The files required to run QT extended are in the image:
/Home/JK/qtextended/build/Image
Please note that QT extended cannot be run from the image.
You must move QT extended to the prefix first. The prefix is:
/Opt/qtopia
Try using qt-extended-4.4.3/Devices/Ipaq3950 defines the compilation option and fails. It is mainly because many libraries qtextended are not provided, such as gstream and OpenSSL.
If the gstream-dev package of Ubuntu is unavailable, an error may be reported, which may be a problem of C and C ++.
Modify:
Configure-common:-add-displaysize home: 800x480-> 320x240
-Add-displaysize 480x800-> 240x320
# Qt-extended-4.4.3/qtopiacore/QT/mkspecs
# Cp/home/JK/qtextended/qt-extended-4.4.3/qtopiacore/QT/mkspecs/qws/Linux-arm-G ++/home/JK/qtextended/qt-extended-4.4.3/devices/ipaq3950/mkspecs /qws
Configure:-xplatform Nokia->-xplatform Linux-arm-G ++
Configure:-extra-QT-embedded-config "-Depths 8, 16, 32"->-extra-QT-embedded-config "-Depths 16, 32"
Configure: comment-eval' if ($ ENV {in_scratchbox}) {OPT ("Platform") = "Linux-scratchbox-G ++"; opt ("xplatform ") = "scratchbox"; my $ ref = OPT ("extra_dqt_config"); push (@ $ ref, "-arch i386", "-no-qt3support "); $ ref = OPT ("extra_qte_config"); push (@ $ ref, "-host-arch i386"); opt_call ("force_pkg_config", "set ");}'
Config. Pri:
Equals (qtopia_ui, Home ){
# Home edition projects
Defines + = qtopia_homeui_wide
}
# Common
# Defines + = debug
Defines + = qt_qws_n810
Defines + = have_v4l2
Lan_network_configs = WLAN LAN
->
# Defines + = debug
Defines + = qt_qws_ipaq3950
# Defines + = have_v4l2
Lan_network_configs = WLAN LAN
Patches, skin: Rm
Button, scripts: do not understand
Environment:
#! /Bin/sh
Uname-A 2> & 1 | grep 'arm '>/dev/null 2> & 1
If [$? -EQ 0]; then
# In scratchbox
Use_tb = 0
Export in_scratchbox = 1
Else
# Not in scratchbox
Toolchain =/scratchbox/compilers/cs2005q3.2-glibc2.5-arm
Use_tb = 1
Tb_cc_prefix = arm-Linux-
Tb_cc_ver = auto
Tb_sys = arm11: nxx
Tb_strip_args = "-pipe"
Unset ld_preload
Export pkg_config_prefix = $ toolchain/ARM-None-Linux-gnueabi
Fi
Export pkg_config_path = $ pkg_config_prefix/lib/pkgconfig
->
# Use_tb: set to 1 to enable teambuilder support (if teambuilder can be found ). the user shoshould export tbdir if they have not installed teambuilder into/opt/teambuilder. if this is not set (or set to 0) teambulider support will be disabled and none of the following variables will have any effect. useless
#! /Bin/sh
Toolchain =/usr/local/poky/Eabi-glibc/ARM/bin
# Toolchain =/opt/toolchains/ARM920T
Use_tb = 1
Tb_cc_prefix = arm-Linux-
Tb_cc_ver = auto
Tb_sys = Neo: Eabi
Export pkg_config_prefix =/usr/local/poky/Eabi-glibc/ARM-poky-Linux-gnueabi
Export pkg_config_path = $ pkg_config_prefix/lib/pkgconfig
#-Add-mediaengine gstreamer
#-Add-mediaengine cruxus
#-SSL
-No-Timeout