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