I'm trying to only enable DASH on Dooble-Qt5.
First I did this,
#ifndef Q_OS_UNIX
#if !defined Q_OS_UNIX && !defined Q_OS_OS2
action->setEnabled(false);
#endif
Which worked as expected, enabling DASH on Qt5 and Qt6. On Qt6, entering a command closes the tab.
Now I try,
-#ifndef Q_OS_UNIX
+#if !defined Q_OS_UNIX && (!defined Q_OS_OS2 && (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)))
action->setEnabled(false);
#endif
Unluckily DASH is still enabled on Dooble-Qt6. What am I missing?