How can I use C++14 features when building qmake projects?

后端 未结 4 1747
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-01 18:16

I\'m currently using C++11 features in my Qt applications. However, I\'d like to use some of the new C++14 features in my applications.

To enable C++11 in a Qt appli

4条回答
  •  一生所求
    2020-12-01 18:49

    Qt Creator is just an IDE.

    You can think of IDEs as "smarter text editors" that aid the developer with debugging, building, code completion, file management and so on.

    IDEs are irrelevant during compilation.

    What matters is your compiler. And it is independent from your IDE.

    g++ 4.8.x does not support many C++14 features: check out this page to learn what C++14 features are supported.

提交回复
热议问题