diff --git a/src/libs/vgeometry/vabstractcubicbezier.h b/src/libs/vgeometry/vabstractcubicbezier.h index dc75a20c3..c740ab90a 100644 --- a/src/libs/vgeometry/vabstractcubicbezier.h +++ b/src/libs/vgeometry/vabstractcubicbezier.h @@ -41,6 +41,9 @@ class VPointF; +QT_WARNING_PUSH +QT_WARNING_DISABLE_GCC("-Wsuggest-final-types") + class VAbstractCubicBezier : public VAbstractBezier { public: @@ -74,4 +77,6 @@ protected: virtual QPointF GetControlPoint2() const =0; }; +QT_WARNING_POP + #endif // VABSTRACTCUBICBEZIER_H diff --git a/src/libs/vpropertyexplorer/plugins/Vector3d/vvector3dproperty.h b/src/libs/vpropertyexplorer/plugins/Vector3d/vvector3dproperty.h index 54eeec0f1..7c8017a98 100644 --- a/src/libs/vpropertyexplorer/plugins/Vector3d/vvector3dproperty.h +++ b/src/libs/vpropertyexplorer/plugins/Vector3d/vvector3dproperty.h @@ -113,6 +113,8 @@ private: Q_DISABLE_COPY(QVector3DProperty) }; +VPE_MARK_NONFINAL_CLASS(QVector3DProperty) + } #endif // VVECTOR3DPROPERTY_H diff --git a/src/libs/vpropertyexplorer/plugins/venumproperty.h b/src/libs/vpropertyexplorer/plugins/venumproperty.h index 7966bb0dd..3418e24c2 100644 --- a/src/libs/vpropertyexplorer/plugins/venumproperty.h +++ b/src/libs/vpropertyexplorer/plugins/venumproperty.h @@ -104,6 +104,8 @@ private: Q_DISABLE_COPY(VEnumProperty) }; +VPE_MARK_NONFINAL_CLASS(VEnumProperty) + } #endif // VENUMPROPERTY_H diff --git a/src/libs/vpropertyexplorer/plugins/vfileproperty.h b/src/libs/vpropertyexplorer/plugins/vfileproperty.h index e81785231..a3f6a0a5c 100644 --- a/src/libs/vpropertyexplorer/plugins/vfileproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vfileproperty.h @@ -108,6 +108,8 @@ private: Q_DISABLE_COPY(VFileProperty) }; +VPE_MARK_NONFINAL_CLASS(VFileProperty) + } #endif // VFILEPROPERTY_H diff --git a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h index 95b31ec30..dbe6c7f11 100644 --- a/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h +++ b/src/libs/vpropertyexplorer/plugins/vfilepropertyeditor.h @@ -113,6 +113,8 @@ private: Q_DISABLE_COPY(VFileEditWidget) }; +VPE_MARK_NONFINAL_CLASS(VFileEditWidget) + } #endif // VFILEPROPERTYEDITOR_H diff --git a/src/libs/vpropertyexplorer/plugins/vnumberproperty.h b/src/libs/vpropertyexplorer/plugins/vnumberproperty.h index 1c4f41aa9..7211171de 100644 --- a/src/libs/vpropertyexplorer/plugins/vnumberproperty.h +++ b/src/libs/vpropertyexplorer/plugins/vnumberproperty.h @@ -146,6 +146,7 @@ private: Q_DISABLE_COPY(VDoubleProperty) }; +VPE_MARK_NONFINAL_CLASS(VDoubleProperty) }