Solved c++17 in qt
-
Hello,
Is there a way to force Qt in c++17?
I tried CONFIG += c++17 but it doesn't seem to work.
-
@Xav12358 Qt? Qt is not a compiler. Do you mean you have a compiler supporting C++17 and would like to use C++17 features in your own code?
-
Sorry I mean I use MSVC 2015 64bits on Qtcreator. In fact both, I want to use c++17 features and I would like to use c++17 to recompile my Qt program c++17.
The feature I want to use is any
-
@Xav12358 said in c++17 in qt:
MSVC 2015
According to this site std::any is supported in MSVC2017: https://blogs.msdn.microsoft.com/vcblog/2017/05/10/c17-features-in-vs-2017-3/
-
The problem is when I try to include it, it can find the any.
-
@Xav12358 As I said it is NOT supported in MSVC2015
-
Ok. Is there Qt version with MSVC2017 availble for the moment?
-
@Xav12358 Yes - 5.9.1
-
Ok thank you I will try it.