diff --git a/src/libs/vgeometry/vgeometrydef.cpp b/src/libs/vgeometry/vgeometrydef.cpp index e8e231951..9b2dc1774 100644 --- a/src/libs/vgeometry/vgeometrydef.cpp +++ b/src/libs/vgeometry/vgeometrydef.cpp @@ -28,7 +28,7 @@ #include "vgeometrydef.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "../vmisc/vdatastreamenum.h" #endif #include "../ifc/exception/vexception.h" diff --git a/src/libs/vlayout/vabstractpiece_p.h b/src/libs/vlayout/vabstractpiece_p.h index 562c941d2..d41efbf2e 100644 --- a/src/libs/vlayout/vabstractpiece_p.h +++ b/src/libs/vlayout/vabstractpiece_p.h @@ -34,7 +34,7 @@ #include #include "../vmisc/diagnostic.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "../vmisc/vdatastreamenum.h" #endif #include "../vmisc/defglobal.h" diff --git a/src/libs/vlayout/vlayoutpiece_p.h b/src/libs/vlayout/vlayoutpiece_p.h index f2d783066..3cdc8a6e5 100644 --- a/src/libs/vlayout/vlayoutpiece_p.h +++ b/src/libs/vlayout/vlayoutpiece_p.h @@ -38,7 +38,7 @@ #include "../vpatterndb/floatItemData/vpatternlabeldata.h" #include "../vpatterndb/floatItemData/vgrainlinedata.h" #include "../vmisc/diagnostic.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "../vmisc/vdatastreamenum.h" #endif #include "vlayoutpiecepath.h" diff --git a/src/libs/vlayout/vlayoutpiecepath_p.h b/src/libs/vlayout/vlayoutpiecepath_p.h index 265499a31..198669240 100644 --- a/src/libs/vlayout/vlayoutpiecepath_p.h +++ b/src/libs/vlayout/vlayoutpiecepath_p.h @@ -34,7 +34,7 @@ #include #include "../vmisc/diagnostic.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "../vmisc/vdatastreamenum.h" #endif #include "../ifc/exception/vexception.h" diff --git a/src/libs/vlayout/vtextmanager.cpp b/src/libs/vlayout/vtextmanager.cpp index 2a6005862..ee872cc7d 100644 --- a/src/libs/vlayout/vtextmanager.cpp +++ b/src/libs/vlayout/vtextmanager.cpp @@ -39,7 +39,7 @@ #include "../vpatterndb/floatItemData/vpiecelabeldata.h" #include "../vmisc/vabstractapplication.h" #include "../vmisc/vmath.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "../vmisc/vdatastreamenum.h" #endif #include "../vpatterndb/vcontainer.h" diff --git a/src/libs/vmisc/def.cpp b/src/libs/vmisc/def.cpp index 943595a25..12b1067e5 100644 --- a/src/libs/vmisc/def.cpp +++ b/src/libs/vmisc/def.cpp @@ -56,7 +56,7 @@ #include #include "vabstractapplication.h" -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) # include "vdatastreamenum.h" #endif #include "../ifc/exception/vexception.h" diff --git a/src/libs/vmisc/vdatastreamenum.h b/src/libs/vmisc/vdatastreamenum.h index 3b998ab23..5fbaf5847 100644 --- a/src/libs/vmisc/vdatastreamenum.h +++ b/src/libs/vmisc/vdatastreamenum.h @@ -34,7 +34,7 @@ // (de)serialize enums into QDataStream -#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) //a function that can serialize any enum into QDataStream //it stores the enum in a qint64 template