[Qt-creator] QtCreator adds -spec parameter in qmake build step

Tobias Hunger tobias.hunger at gmail.com
Thu Aug 29 09:07:21 CEST 2013


Hi Thomas,

On Aug 28, 2013 8:18 PM, "Tomasz Olszak" <olszak.tomasz at gmail.com> wrote:
>
> What is the reason of adding -spec parameter to qmake step? Couldn't we
just use default one (without any parameters)?

That is to allow switching between different compilers, e.g. using clang
instead of gcc on linux.

> This causes a problem in case of host qmake for cross compilation.
> When qmake gets -spec parameter it simply ignores QMAKE_XSPEC value.

You can force the mkspec to use in the kit settings.

Best Regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20130829/b772b84a/attachment.html>


More information about the Qt-creator mailing list