From 189f091bb4ed9a1b87cb50fe090119bf8dd8a325 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 5 Jul 2017 19:36:17 +0300 Subject: [PATCH] VDXF library. Since Qt5.4 available support C++14. --HG-- branch : develop --- src/libs/vdxf/vdxf.pro | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/libs/vdxf/vdxf.pro b/src/libs/vdxf/vdxf.pro index 835c7762f..5d7184938 100644 --- a/src/libs/vdxf/vdxf.pro +++ b/src/libs/vdxf/vdxf.pro @@ -16,8 +16,15 @@ TARGET = vdxf TEMPLATE = lib CONFIG += \ - staticlib \# Making static library - c++11 # We use C++11 standard + staticlib # Making static library + +# Since Qt5.4 available support C++14 +greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 3) { + CONFIG += c++14 +} else { + # We use C++11 standard + CONFIG += c++11 +} # Use out-of-source builds (shadow builds) CONFIG -= debug_and_release debug_and_release_target