summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-09-18 08:24:56 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-09-21 05:41:07 +0000
commit0577ffca58b7fed78c1820fc1c2b7ab3533d5698 (patch)
treee774d0a8b8962d5d24080bd1ad25765965c199f1
parent75738fd2cc441e5e8ebe353d90e1bb810d15ee72 (diff)
Use the new way of disabling strict C++ support
4684c1afe5fdb3774d56d85a52b2feaab1b8de2c in qtbase added the feature to default_post.prf Change-Id: I42e7ef1a481840699a8dffff14051be6b6334b6a Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
-rw-r--r--src/systeminfo/systeminfo.pro10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/systeminfo/systeminfo.pro b/src/systeminfo/systeminfo.pro
index 5465f7c2..72990f36 100644
--- a/src/systeminfo/systeminfo.pro
+++ b/src/systeminfo/systeminfo.pro
@@ -231,14 +231,6 @@ load(qt_module)
# This must be done after loading qt_module.prf
config_bluez {
# bluetooth.h is not standards compliant
- contains(QMAKE_CXXFLAGS, -std=c++0x) {
- QMAKE_CXXFLAGS -= -std=c++0x
- QMAKE_CXXFLAGS += -std=gnu++0x
- CONFIG -= c++11
- }
- c++11 {
- CONFIG -= c++11
- QMAKE_CXXFLAGS += -std=gnu++0x
- }
+ CONFIG -= strict_c++
}