[Qt-creator] Problem registering MinGW

Guido Seifert wargand at gmx.de
Thu Aug 22 12:30:46 CEST 2013


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 <wargand at gmx.de> 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
>     );



More information about the Qt-creator mailing list