[Interest] building Qt 5.9 on Linux - clang or GCC?

tomek osmial.tomek at gmail.com
Thu Dec 21 09:11:52 CET 2017


I should think about airports and hotels... sorry for that.

But getting back to the topic, I've started build configuration as usually
using GCC - without passing this flag at all. But it failed with this error:

ERROR: C++11 <random> is required and is missing or failed to compile.

So I've started experimenting. Nothing changed no matter which standard I'm
trying to use.


2017-12-21 2:52 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:

> On quarta-feira, 20 de dezembro de 2017 19:28:46 CST Thiago Macieira wrote:
> > > https://forum.qt.io/topic/86052/qt-5-10-0-compile-with-
> clang-on-ubuntu-17-> > 10
> > >
> > > Hope you are tolerating links to qt's forum here.
> >
> > Links are fine. But in the interest of expediency, you should post the
> > actual information in the mail. In order to answer you, I need to wait
> for
> > the website to load, which it hasn't in the last minute since I clicked
> the
> > link in the airport wifi.
> >
> > So I can't help you. Maybe in 15 hours when I get to where I'm going.
>
> Ok, it loaded.
>
> Don't pass -c++11, -c++14 or -c++1z. Just let Qt choose the best one.
> That's
> valid for EVERY platform, every compiler. I wanted to get rid of that
> option
> altogether since users should not choose, but was overruled.
>
> Anyway, for Clang on Linux, that's C++14, because Clang on Linux can't
> compile
> the C++17 headers from libstdc++. As you've discovered.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> 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/20171221/37f83eb6/attachment.html>


More information about the Interest mailing list