Using Qt Extended 4.4 with Qt 4.5

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

How to do it

First you need to prepare the sources.

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.patchThis patch fixes a version check, allowing RC/BETA packages to be used.
0002-Fix-open-source-license-check.patchThis patch fixes a license check, allowing open source packages to be used.
0003-Use-new-switches-required-by-Qt-4.5.0.patchThis patch updates the switches passed to Qt's configure, allowing Qt 4.5.0 to be used.
0004-Fix-building-QtUiTest.patchThis patch allows QtUiTest to build without errors.
0005-Fix-license-handling-for-Qt-4.5.1.patchThis 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