[Interest] How to create local mkspec for gcc5 compiler

Nye kshegunov at gmail.com
Fri Mar 11 23:33:07 CET 2016


Maybe, you could also create a "feature" for qmake and use it with CONFIG
+= myfeature.
I've used this approach to keep the MPI wrapper compilers' configurations
separate from the project files.

On Fri, Mar 11, 2016 at 3:44 PM, Roland Winklmeier <
roland.m.winklmeier at gmail.com> wrote:

> 2016-03-10 14:50 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:
>
>> On quinta-feira, 10 de março de 2016 12:43:30 PST Roland Winklmeier wrote:
>> > Dear list,
>> >
>> > I'm running on openSUSE Leap which has gcc 4.8.5 as system compiler but
>> > also offers gcc5 as parallel installation. Since I need a gcc version >
>> 4.9
>> > for certain C++14 features, I'm trying to use gcc5 now as build chain.
>> The
>> > problem is that all binaries have '-5' as suffix (gcc-5, gcc-ar-5,
>> > gcc-nm-5, ...).
>>
>> Another trick is to create a new dir with symlinks to the standard names
>> and
>> then simply set PATH to point to it.
>>
>
> update-alternatives was already a nice idea, but that is the winner
> because I can configure it in QtCreator without a system wide effect.
> Thanks!
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160312/12b4619b/attachment.html>


More information about the Interest mailing list