From 14ef85f4cc57413b0b8c08448c6e66b21ccc9740 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 3 Mar 2016 08:55:30 +0100 Subject: Disable compilation on non-C++11 compilers Change-Id: If28a43b1323be7ae2e92c3329e03ecfa01e90af2 Reviewed-by: Lars Knoll --- qtserialbus.pro | 1 + 1 file changed, 1 insertion(+) 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}.") -- cgit v1.2.3