You can add the following to the Qt .pro for C++11: –
CONFIG += c++11
As of Qt 5.4, C++14 can be enabled with
CONFIG += c++14
More Related Contents:
- Running a program/script from QMake
- How to specify different Debug/Release output directories in QMake .pro file
- QMake – how to copy a file to the output
- How to use QMake’s subdirs template?
- qmake pre-build step before ANY compilation
- QMake – How to add and use a variable into the .pro file
- Add a define to qmake WITH a value?
- How to convert qmake to cmake?
- How to execute shell command after compile finished from .pro in QT?
- Porting C++ Builder to Qt [closed]
- QLabel does not display in QWidget
- How to make item view render rich (html) text in Qt
- Qt Stylesheet for custom widget
- Access sqlite from a remote server
- Configuring the GCC compiler switches in Qt, QtCreator, and QMake
- How to make a column in QTableWidget read only?
- Why does calling quit() before exec() not quit the application?
- Where does Qt Creator save its settings?
- How to insert QChartView in form with Qt Designer?
- How can I use C++14 features when building qmake projects?
- Why should nesting of QEventLoops be avoided?
- Console input with Qt Creator
- How to install a missing Qt module?
- Why do stylesheets not work when subclassing QWidget and using Q_OBJECT?
- Deploy Qt5 QML application
- PyQt5 and QtGui module not found
- Dynamic instantiation of QML objects?
- qfiledialog – Filtering Folders?
- How to drop a custom QStandardItem into a QListView
- Different delegates for QML ListView