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

Otavio Salvador otavio at ossystems.com.br
Sat Sep 10 09:56:24 UTC 2011


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?

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list