summaryrefslogtreecommitdiffstats
path: root/qtserialbus.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2016-03-03 08:55:30 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-03-03 08:06:06 +0000
commit14ef85f4cc57413b0b8c08448c6e66b21ccc9740 (patch)
tree6eff134c83fca32424cc50aa3455a6f2559c9b05 /qtserialbus.pro
parenteded6c6c20075628d526541dae94356d3d51965d (diff)
Disable compilation on non-C++11 compilers
Change-Id: If28a43b1323be7ae2e92c3329e03ecfa01e90af2 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'qtserialbus.pro')
-rw-r--r--qtserialbus.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtserialbus.pro b/qtserialbus.pro
index 2d3d967..97b60e6 100644
--- a/qtserialbus.pro
+++ b/qtserialbus.pro
@@ -4,6 +4,7 @@ requires(!ios) # enforced by qtserialport dependency
requires(!win32-msvc2012) # does not support variadic templates
requires(!win32-msvc2010) # not C++11 capabable -> will be removed from CI soon
requires(!win32-msvc2008) # not C++11 capabable -> will be removed from CI soon
+requires(c++11)
lessThan(QT_MAJOR_VERSION, 5) {
message("Cannot build current QtSerialBus sources with Qt version $${QT_VERSION}.")