Hi Tobias
> > Why are you giving a -spec anyway by default. The default spec is
> > determined by the installation so there should be no need to explicitly
> > for qmake on default?
> 
> We use the mkspec to explicitly switch tool chains. You can e.g. use clang
> and gcc based compilers now in your project and that just works.
>
> This change seems to cause some trouble to users using custom default
> mkspecs, I already got a bug report about that:
> https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5756
> 
> I am not sure how to proceed with that yet:-( For now please set a mkspec
> via the qmake arguments. We will not set any tool chain based spec if the
> user provided a -spec there.
>
Well i the changes i briefly outlined before would probably solve this 
problem: by giving the spec argument for "Desktop" builds and leaving it away 
for "Cross" builds. 

I am currently hacking on s.t., don't know where that leads.

My plan is to make the "Desktop" stuff switch to cross mode if the arch 
is different from the build platform. Given the fact that you normally don't
switch toolchains on cross development, and if you do you also use normally 
a qt build with the other toolchain, disabling toolchain switching for
"Cross" builds would fix all these problems?

Best regards
Tim
_______________________________________________
Qt-creator mailing list
Qt-creator@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to