Now that Qt Extended has been discontinued you may be wondering how to breathe a bit more life into that Qt Extended 4.4.3 source package you downloaded. Here's one idea, replacing Qt 4.4 wth Qt 4.5. I'm told this gives better performance but I haven't tested this myself.
Notes and disclaimers
- This is not supported.
- This is not extensively tested.
- This process is designed to make a Qt Extended 4.4.3 package work with Qt 4.5.0. You may be able to use other packages (some of the patches are designed to help with this) but this has not been tested.
- This process updates both Qt Extended and the Qt Extended Sync Agent though the latter has not been tested.
How to do it
First you need to prepare the sources.
- Download Qt Extended 4.4.3.
- Download Qt All 4.5.0.
- Download Qt Embedded Linux (You must get the same version as the Qt package!).
- Extract Qt Extended.
tar -zxf qt-extended-opensource-src-4.4.3.tar.gz
- Remove the included Qt 4.4.
rm -r qt-extended-4.4.3/qtopiacore/qt
mkdir qt-extended-4.4.3/qtopiacore/qt - Extract Qt All.
tar --strip-components=1 -C qt-extended-4.4.3/qtopiacore/qt -jxf qt-all-opensource-src-4.5.0.tar.bz2
- Extract Qt Embedded Linux (over the top of Qt All).
tar --strip-components=1 -C qt-extended-4.4.3/qtopiacore/qt -jxf qt-embedded-linux-opensource-src-4.5.0.tar.bz2
Then you need to apply some patches. The following table describes the patches. You should apply all of them in the order specified.
0001-Fix-BETA-RC-version-detection.patch | This patch fixes a version check, allowing RC/BETA packages to be used. |
0002-Fix-open-source-license-check.patch | This patch fixes a license check, allowing open source packages to be used. |
0003-Use-new-switches-required-by-Qt-4.5.0.patch | This patch updates the switches passed to Qt's configure, allowing Qt 4.5.0 to be used. |
0004-Fix-building-QtUiTest.patch | This patch allows QtUiTest to build without errors. |
0005-Fix-license-handling-for-Qt-4.5.1.patch | This patch fixes a license check, allowing Qt 4.5.1 to be used. |
To apply a patch you should run patch like this:
cd qt-extended-4.4.3
patch -p1 <../the_patch.patch
cd ..
Once the patches have been applied you can build Qt Extended as you normally would.
mkdir build
cd build
../qt-extended-4.4.3/configure [options]
make
make install