qt5base-lts/mkspecs/features
Bradley T. Hughes bf84d1a1fe configure: Auto-detect and enable C++11 support if available
Enabling support for C++11 adds CONFIG+=c++11 to the Qt build. Projects
using Qt can check for C++11 support using contains(QT_CONFIG, c++11) in
their .pr[iof] files.

The QMAKE_CXXFLAGS_CXX11 and QMAKE_LFLAGS_CXX11 qmake varibles contain
any arguments the compiler needs to enable C++11. CONFIG+=c++11 adds
these arguments to the build.

Support for clang, g++, and the Intel C++ Compiler for Linux are
included in this commit.

Change-Id: Id77f86d7ad4d5c740b890446a40b105879a0d327
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-06-05 12:30:13 +02:00
..
mac configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
qpa Install fonts when not using fontconfig 2012-03-16 21:30:59 +01:00
unix Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
win32 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
build_pass.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
c++11.prf configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
create_cmake.prf Revert "Don't use the pri depends line for link dependencies." 2012-05-03 16:11:58 +02:00
dbusadaptors.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
dbusinterfaces.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
debug_and_release.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
debug.prf configure: Remove the -dwarf2 argument for Mac OS X builds 2012-05-11 12:52:21 +02:00
declarative_debug.prf Enable QML debugging of qtquick1 with CONFIG+=quick1 2012-05-02 12:21:55 +02:00
default_post.prf Set QMAKE_DOCS_INSTALLDIR to $$[QT_INSTALL_DOCS] to allow overriding in .pro 2012-05-15 14:34:15 +02:00
default_pre.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
designer.prf Remove QT += uilib from designer.prf 2012-03-20 11:44:09 +01:00
device_config.prf devices: Allow to pick up the compiler from the path 2012-05-23 19:27:41 +02:00
dll.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
egl.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
exceptions_off.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exceptions.prf turn off exceptions by default where they aren't required 2012-05-17 05:14:26 +02:00
exclusive_builds.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
help.prf Removed the unnecessary dependency of the QtHelp module on the QtXml one 2011-09-12 16:03:47 +02:00
include_source_dir.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
incredibuild_xge.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lex.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
link_pkgconfig.prf Make pkg-config cross-compile aware 2011-10-19 22:27:09 +02:00
moc.prf remove automatic building of moc from moc.prf 2012-03-08 18:55:53 +01:00
module.prf revamp -sysroot and -hostprefix handling 2012-03-01 23:18:23 +01:00
no_debug_info.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
opengles1.prf Add a new qmake feature to support OpenGL ES 1 apps 2012-02-28 22:35:24 +01:00
qdbus.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qml_debug.prf Rename the 'declarative debug support' to 'qml debug support' 2012-03-31 16:33:04 +02:00
qmltestcase.prf Remove declarative from qmltestcase.prf. 2012-05-11 12:52:21 +02:00
qt_config.prf revamp -sysroot and -hostprefix handling 2012-03-01 23:18:23 +01:00
qt_functions.prf let qtPrepareTool give right path for app_bundle 2012-03-26 14:06:51 +02:00
qt_installs.prf Fix qpa files installation 2012-05-08 20:03:49 +02:00
qt_module_config.prf configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
qt_module.prf Move the sub-architecture feature to better places in qmake 2012-05-31 17:55:49 +02:00
qt_plugin.prf configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
qt_targets.prf bump version of QMAKE_TARGET_PRODUCT 2012-02-27 20:52:45 +01:00
qt.prf Move the sub-architecture feature to better places in qmake 2012-05-31 17:55:49 +02:00
qtestlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
quick1_debug.prf Enable QML debugging of qtquick1 with CONFIG+=quick1 2012-05-02 12:21:55 +02:00
release.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
resolve_target.prf Add missing naming for libraries built statically. 2011-11-11 02:45:05 +01:00
resources.prf qmake: Allow extra compilers to have the makefile depend on its inputs 2011-11-28 13:35:42 +01:00
shared.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
silent.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
static_and_shared.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
static.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
staticlib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
testcase.prf Changed installTestHelperApp() to use relative paths to build 2012-03-22 06:49:06 +01:00
testcocoon.prf CodeCoverage: Exclude all header files from intrumentation. 2012-03-01 07:52:44 +01:00
uic.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
uitools.prf qmake: remove symbian support 2011-11-07 13:26:41 +01:00
use_c_linker.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
vxworks.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_off.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
warn_on.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
wayland-scanner.prf Add a wayland-scanner rule to qmake 2011-12-12 17:27:19 +01:00
yacc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00