[Qt-creator] Support for C++11 and CMake

Eike Ziller Eike.Ziller at qt.io
Mon Jan 20 09:34:23 CET 2020


It is a bug in Qt Creator on Windows, will be fixed in 4.11.1:

https://bugreports.qt.io/browse/QTCREATORBUG-23118

Br, Eike

> On 20. Jan 2020, at 07:31, Cornelis Bockemühl <cornelis at bockemuehl.ch> wrote:
> 
> Since I updated to version 4.11, the editor in QtCreator constantly gives me syntax warnings about features that are from C++11, telling me that they are not compatible with C++98. Well yes, I know that, and also the compiler knows it (compiler from Visual Studio 2015 on Windows 10, however MS is numbering it...), so no real errors, but a flood of annoying warnings!
> 
> Of course I could turn all this syntax checking off, but I learned before that it can be useful - but certainly not if most of the messages are false alarm.
> 
> Maybe there would be a way to tell QtCreator that I am using C++11 indeed, but neither writing it into the CMakeLists.txt did help, nor did I find a location in the "kit" settings where I could do it, so my question is: Where is the little switch that brings me to supporting the correct C++ standard?
> 
> Thanks and regards,
> Cornelis
>   _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.ziller at qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list