Yikes! Found out. 

gccChain->setCompilerCommand(name);

MUST come before

gccChain->setTargetAbi(abi);

Things like that can drive a poor dev crazy. :-)

Oh yes, ProjectExplorer::Abi::LittleEndian in my Abi creation was wrong, too.
I just wonder, why the exact code did work perfectly with both bugs under 
Linux. 

Guido


On Thu, 22 Aug 2013 11:41:48 +0200
Guido Seifert <[email protected]> wrote:

> Hiya, any expert on toolchains here?
> 
> My problem, I try to register a MinGW. What I do:
> 
> I create an ABI
> 
>  ProjectExplorer::Abi abi(
>         ProjectExplorer::Abi::X86Architecture,
>         ProjectExplorer::Abi::WindowsOS,
>         ProjectExplorer::Abi::WindowsMSysFlavor,
>         ProjectExplorer::Abi::PEFormat,
>         ProjectExplorer::Abi::LittleEndian
>     );
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to