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

  • 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.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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值