As soon as you include <QtGlobal> you can check that with macros:
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
It’s the same as @Javier suggested, just a different, more readable to me, syntax
As soon as you include <QtGlobal> you can check that with macros:
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
It’s the same as @Javier suggested, just a different, more readable to me, syntax