And where do I set up the language standard?
And where do I set up the language standard?
I assume you mean in your qmake project. Take a look at the docs for the PRO file CONFIG variable. If you have something really quirky then you can use the CFLAGS/CXXFLAGS variables but you need to worry about compiler differences yourself.
I'm trying to figure out:
https://www.learncpp.com/cpp-tutoria...uage-standard/
Which language standard Qt uses?
Qt requires at least C++-11. Parts of it use C++-14, but those parts are conditionally compiled and there are C++-11 equivalents. Look at QOverload for example.
If you are using MSVC++ as your compiler, all versions from MSVC 2015 onward produce binary compatible code.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks