Qt Extended 4.4.3

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
 
<b>Note: this is the last version of Qt Extended. Trolltech cancelled the project on 3 March 2009</b>
 
<b>Note: this is the last version of Qt Extended. Trolltech cancelled the project on 3 March 2009</b>
  
Line 20: Line 21:
  
 
<h2>Building the Qt Extended 4.4.3 SDK</h2>
 
<h2>Building the Qt Extended 4.4.3 SDK</h2>
 +
 +
First make the build directory, download the source, and set the environment variables. In this example, I write the environment variables to a file then I source the file.
  
 
  desktop# mkdir -p /opt/QtExtended/build/qt-extended-4.4.3
 
  desktop# mkdir -p /opt/QtExtended/build/qt-extended-4.4.3
Line 28: Line 31:
 
  desktop# echo "export QPEDIR=/opt/QtExtended/build/qt-extended-4.4.3" >> setpaths-4.4.3
 
  desktop# echo "export QPEDIR=/opt/QtExtended/build/qt-extended-4.4.3" >> setpaths-4.4.3
 
  desktop# . setpaths-4.4.3
 
  desktop# . setpaths-4.4.3
 +
 +
Install the toolchain:
 +
 +
desktop# cd /opt
 +
desktop# wget http://qtextended.org/downloads/toolchains/arm920t-eabi.tgz
 +
desktop# tar xzvf arm920t-eabi.tgz /
 +
 +
Change to the source directory, download and apply two patches.
 +
 
  desktop# cd $QTOPIA_DEPOT_PATH
 
  desktop# cd $QTOPIA_DEPOT_PATH
 
  desktop# wget http://moko.mwester.net/download/pkg-config-template.patch
 
  desktop# wget http://moko.mwester.net/download/pkg-config-template.patch
Line 33: Line 45:
 
  desktop# patch -p1 < pkg-config-template.patch
 
  desktop# patch -p1 < pkg-config-template.patch
 
  desktop# patch -p1 < 0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch
 
  desktop# patch -p1 < 0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch
 +
 +
Finally we can configure the source.
 +
 
  desktop# cd $QPEDIR
 
  desktop# cd $QPEDIR
 
  desktop# $QTOPIA_DEPOT_PATH/configure -device neo -modules location,cell,telephony -D _FORTIFY_SOURCE=0
 
  desktop# $QTOPIA_DEPOT_PATH/configure -device neo -modules location,cell,telephony -D _FORTIFY_SOURCE=0
desktop#
+
 
 +
Answer yes when asked to accept the license agreement.
 +
 
 +
 
 
[[Category:Advanced End User]]
 
[[Category:Advanced End User]]

Revision as of 03:30, 6 March 2009

Note: this is the last version of Qt Extended. Trolltech cancelled the project on 3 March 2009

Note: the download links have been removed pending the availability of binaries build on the official 4.4.3 source released on 5 March 2009

Installing Qt Extended 4.4.3 on the FreeRunner

Download the kernel and rootfs

Next download the kernel and rootfs to your workstation. Here's a link to the rootfs created by Tomas Riveros Schober. And here's the kernel image. Boot your FreeRunner in dfu mode and use the dfu commands:

desktop# dfu-util -d 0x1d50:0x5119 -a kernel -R -D  Neo_kernel_Backup_200902212230.bin

    ... stuff ...

desktop# dfu-util -d 0x1d50:0x5119 -a rootfs -R -D  Neo_rootfs_Backup_200902212230.jffs2

    ... more stuff ...

This kernel/rootfs fixes the WSOD problem and includes the echo patch but doesn't seem to support ogg or mp3 playback.

Building the Qt Extended 4.4.3 SDK

First make the build directory, download the source, and set the environment variables. In this example, I write the environment variables to a file then I source the file.

desktop# mkdir -p /opt/QtExtended/build/qt-extended-4.4.3
desktop# cd /opt/QtExtended
desktop# wget http://qtextended.org/downloads/release/qt-extended-opensource-src-4.4.3.tar.gz
destkop# tar -xzvf qt-extended-opensource-src-4.4.3.tar.gz
desktop# echo "export QTOPIA_DEPOT_PATH=/opt/QtExtended/qt-extended-4.4.3" >> setpaths-4.4.3 
desktop# echo "export QPEDIR=/opt/QtExtended/build/qt-extended-4.4.3" >> setpaths-4.4.3
desktop# . setpaths-4.4.3

Install the toolchain:

desktop# cd /opt
desktop# wget http://qtextended.org/downloads/toolchains/arm920t-eabi.tgz
desktop# tar xzvf arm920t-eabi.tgz /

Change to the source directory, download and apply two patches.

desktop# cd $QTOPIA_DEPOT_PATH
desktop# wget http://moko.mwester.net/download/pkg-config-template.patch
desktop# wget http://www.csamuel.org/wp-content/uploads/2009/01/0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch
desktop# patch -p1 < pkg-config-template.patch
desktop# patch -p1 < 0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch

Finally we can configure the source.

desktop# cd $QPEDIR
desktop# $QTOPIA_DEPOT_PATH/configure -device neo -modules location,cell,telephony -D _FORTIFY_SOURCE=0

Answer yes when asked to accept the license agreement.

Personal tools

Note: this is the last version of Qt Extended. Trolltech cancelled the project on 3 March 2009

Note: the download links have been removed pending the availability of binaries build on the official 4.4.3 source released on 5 March 2009

Installing Qt Extended 4.4.3 on the FreeRunner

Download the kernel and rootfs

Next download the kernel and rootfs to your workstation. Here's a link to the rootfs created by Tomas Riveros Schober. And here's the kernel image. Boot your FreeRunner in dfu mode and use the dfu commands:

desktop# dfu-util -d 0x1d50:0x5119 -a kernel -R -D  Neo_kernel_Backup_200902212230.bin

    ... stuff ...

desktop# dfu-util -d 0x1d50:0x5119 -a rootfs -R -D  Neo_rootfs_Backup_200902212230.jffs2

    ... more stuff ...

This kernel/rootfs fixes the WSOD problem and includes the echo patch but doesn't seem to support ogg or mp3 playback.

Building the Qt Extended 4.4.3 SDK

desktop# mkdir -p /opt/QtExtended/build/qt-extended-4.4.3
desktop# cd /opt/QtExtended
desktop# wget http://qtextended.org/downloads/release/qt-extended-opensource-src-4.4.3.tar.gz
destkop# tar -xzvf qt-extended-opensource-src-4.4.3.tar.gz
desktop# echo "export QTOPIA_DEPOT_PATH=/opt/QtExtended/qt-extended-4.4.3" >> setpaths-4.4.3 
desktop# echo "export QPEDIR=/opt/QtExtended/build/qt-extended-4.4.3" >> setpaths-4.4.3
desktop# . setpaths-4.4.3
desktop# cd $QTOPIA_DEPOT_PATH
desktop# wget http://moko.mwester.net/download/pkg-config-template.patch
desktop# wget http://www.csamuel.org/wp-content/uploads/2009/01/0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch
desktop# patch -p1 < pkg-config-template.patch
desktop# patch -p1 < 0001-added-echo-suppression-fixes-for-the-openmoko-neo-ph.patch
desktop# cd $QPEDIR
desktop# $QTOPIA_DEPOT_PATH/configure -device neo -modules location,cell,telephony -D _FORTIFY_SOURCE=0
desktop#