[OE-core] [PATCH] qt4: fix generated sdk

Eric Bénard eric at eukrea.com
Sat Sep 10 09:59:30 UTC 2011


Hi Otavio,

Le 10/09/2011 11:56, Otavio Salvador a écrit :
> On Sat, Sep 10, 2011 at 06:25, Eric Bénard<eric at eukrea.com>  wrote:
>> - qt4-tools-nativesdk : actually the qmkae binary which gets installed
>> comes from the native recipe. This patch fix this problem by laucnhing
>> configure twice : once to compile qmake using the right toolchain for
>> nativesdk, and a second time using the native qmake to compile all the
>> other tools for the nativesdk. Then we install the right qmake.
> ...
>> - toolchain_create_sdk_env_script_append : we need to add OE_QMAKE_CFLAGS,
>> OE_QMAKE_CXXFLAGS and OE_QMAKE_LDFLAGS else the sdk won't find these
>> variables that are inserted by qmake in the Makefiles.
>>
>> - with this patch, oe-core generates a working meta-toolchain-qte which
>> can compile a small example and is properly recognized by qtcreator (this
>> brings oe-core's meta-toolchain-qte to oe-dev's functional state).
> ...
>
> In this case we most probably can drop the qt.conf file from the SDK
> directory, don't we?
>
no qt.conf gets installed in the sdk.

Eric




More information about the Openembedded-core mailing list