fix: build with lower Qt version
This commit is contained in:
parent
552d0fe072
commit
6d460a27d7
@ -10,7 +10,7 @@
|
|||||||
#include <QStyleOptionGraphicsItem>
|
#include <QStyleOptionGraphicsItem>
|
||||||
|
|
||||||
// TODO: remove this once we drop older Qt support.
|
// TODO: remove this once we drop older Qt support.
|
||||||
#if QT_VERSION_CHECK(5, 13, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0)
|
||||||
#define COMPAT_CONSTCOLOR constexpr
|
#define COMPAT_CONSTCOLOR constexpr
|
||||||
#else
|
#else
|
||||||
#define COMPAT_CONSTCOLOR const
|
#define COMPAT_CONSTCOLOR const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user