For what it is worth: the problem with c++17 is that the .pro file needs this 
flag
 CONFIG += c++1z
CONFIG += c++17 will NOT work for c++17. std::cout << __cplusplus to check 
which version you currently have.
Also, it needs to be setup manually for each one of your projects. I'm not 
aware of any way to generate custom .pro files in Qt that load by default (if 
someone knows please post here). 
You can try your luck with .prl files in mkspecs folder, I've tried without 
success (I'm building static), Qt always start a new project with CONFIG += 
c++11.

The glitch with the Examples described below is still going on, can't really 
solve it. Some help is appreciated.
cheers

   
----------------------------------------------------------------------------------------------------------------------
 
 Hello,
I'm new in this list and somewhat new user, so I apologize if this is very noob 
issue to solve.
I've done basically everything I've could, including reinstalling *everything*, 
but can't seem to make the examples load in Qt. I suspect the issue might be 
the kit selected, but trying other custom kit also didn't work. All files seem 
to be properly installed in \msys64\mingw64\share\qt5\examples.
Second issue is that I'm unable to make c++17 get recognized, despite having 
GCC 8.2.0 and everything up to date. How do I properly pass the flag 
-std=c++17? Also, it would be nice if the code model recognized proper c++17 
and clang. For instance, <filesystem> is there, but Qt says that 
std::filesystem::(smth) or std::copy_file are not in the namespace standard.
Any help is much appreciated.
ps: I'm using static Qt + mingw64.
cheers_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users
  
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to