Skip to content

Qt4 qmake & other fixes

Paul Eggleton openembedded-core openembedded-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4qt4: fix compile error in Qt 4.8.0 with gcc 4.6meta/recipes-qt/qt4/qt-4.8.0.inc meta/recipes-qt/qt4/qt-4.8.0/configure_oe_compiler.patch meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb+33 -14 replies
2/4qt4: build qmake for the targetmeta/recipes-qt/qt4/files/target_qmake.patch meta/recipes-qt/qt4/qt-4.7.4.inc meta/recipes-qt/qt4/qt-4.8.0.inc +4 more+115 -260 replies
3/4qt4-tools-nativesdk: fix build of 4.7.4meta/recipes-qt/qt4/qt4-tools-nativesdk.inc+7 -40 replies
4/4qt4-tools-nativesdk: improve and tidy up qmake buildmeta/recipes-qt/qt4/files/qmake-exists-check.patch meta/recipes-qt/qt4/qt4-tools-nativesdk.inc meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb+15 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Qt4 qmake & other fixes

This patchset enables building qmake for the target with other target utilities. I also fixed a couple of build failures in the process.

In addition I've used the same method to build qmake in the qt4-tools-nativesdk recipe. This wasn't strictly necessary, however I think it would be good to be consistent and incidentally the resulting qmake executable is slightly smaller.

Since the RFC version, a few issues were fixed:
* Ensure the qmake changes work when the platform is different e.g. linux-gnueabi-oe-g++ instead of linux-oe-g++
* Install an appropriate environment setup script adapted from the former separate qmake2 recipe
* Fix the gcc 4.6 error by fixing the root cause (inability to correctly detect the C++ compiler as g++) rather than hacking around it.
* Format some of the patches so they can be used with git am

Thanks to Philip Balister for helping me test the qmake improvements.

The following changes since commit 30253358f5e76fb7b25be27198b4c125e0dbdf2c:

Quoting fixes (2012-02-26 12:50:36 +0000)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/qmake-target
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qmake-target

Paul Eggleton (4):
qt4: fix compile error in Qt 4.8.0 with gcc 4.6
qt4: build qmake for the target
qt4-tools-nativesdk: fix build of 4.7.4
qt4-tools-nativesdk: improve and tidy up qmake build

 meta/recipes-qt/qt4/files/qmake-exists-check.patch |   19 -------
 meta/recipes-qt/qt4/files/target_qmake.patch       |   16 ++++++
 meta/recipes-qt/qt4/qt-4.7.4.inc                   |   11 +----
 meta/recipes-qt/qt4/qt-4.8.0.inc                   |   13 +----
 .../qt4/qt-4.8.0/configure_oe_compiler.patch       |   31 ++++++++++++
 meta/recipes-qt/qt4/qt-4.8.0/qmake_pri_fixes.patch |   51 ++++++++++++++++++++
 meta/recipes-qt/qt4/qt4-embedded_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb          |    2 +-
 meta/recipes-qt/qt4/qt4-tools-nativesdk.inc        |   29 +++++++----
 meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb   |    2 +
 meta/recipes-qt/qt4/qt4-x11-free_4.7.4.bb          |    2 +-
 meta/recipes-qt/qt4/qt4.inc                        |   47 ++++++++++++++++--
 12 files changed, 168 insertions(+), 57 deletions(-)
 delete mode 100644 meta/recipes-qt/qt4/files/qmake-exists-check.patch
 create mode 100644 meta/recipes-qt/qt4/files/target_qmake.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/configure_oe_compiler.patch
 create mode 100644 meta/recipes-qt/qt4/qt-4.8.0/qmake_pri_fixes.patch
Signature · 1 line
1.7.5.4