summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
Diffstat (limited to 'spline')
-rw-r--r--spline/spline-widget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index 6746a6c0..7a962182 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -14,6 +14,10 @@
#include <QDebug>
+#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0)
+# define OTR_OBSOLETE_QT_WORKAROUND
+#endif
+
namespace spline_detail {
spline_widget::spline_widget(QWidget *parent) : QWidget(parent)