[oe] [meta-qt5][PATCH 2/2] qtbase: align target qmake paths

Andreas Müller schnitzeltony at googlemail.com
Wed Nov 4 23:32:21 UTC 2015


On Wed, Nov 4, 2015 at 11:54 PM, Martin Jansa <martin.jansa at gmail.com> wrote:
> On Wed, Nov 04, 2015 at 06:30:09PM +0100, Andreas Müller wrote:
>> With this we can setup qt-creator to build/debug on target again.
>
> Can we apply this change to qtbase-native and nativesdk-qtbase as well
> or will it break things?
Have not tested but I don't expect it to work for our cross/sysroot
magic: the patch wipes all host/sysroot paths out of (target) qmake.
>
> With 5.6 I was finally able to use the same patches for target qtbase
> and native(sdk) with only:
>     file://0008-Always-build-uic.patch \
>     file://0009-Add-external-hostbindir-option-for-native-sdk.patch \
> included only for native(sdk) that makes my qtbase branches in
> github.com/meta-qt5/qtbase a lot easier to maintain.
Understood, happy and fully agreed :)
>
> If it cannot be changed for all, can we make it conditional, e.g.
> [ "$QT_CROSS_COMPILE" = "yes" ]
> like in new version of:
> https://github.com/meta-qt5/qtbase/commit/10283d010d7a66c485cda1e9b1c0cf7c41e358b3
>
Need a look into but this seems to me the path to take: handling
conditionals during build is what configure is made for :)

As you might guess: I am using qt-creator on target from time to time
for building/debugging simple projects or profiling QML - so I am very
interested in qt-creator working on target.

Andreas



More information about the Openembedded-devel mailing list