-RM-408-MR-The code uses deprecated platform defines such as Q_WS_MAC, they are not supported.
Qt established new defines: http://doc.qt.io/qt-5/qtglobal.html. Fortunately only qtgui/WQtGui.cpp and scriptUI/WScriptUI.cpp seem to be affected. It is used for XinitThread call for X11 systems. As the Qt code should be WindowSystem (WS) independent, we cannot determine by QT Macros if X11 is present or not. On the other hand there is a QApplication-Attribute, which calls us XInitThreads: Qt::AA_X11InitThreads see: http://doc.qt.io/qt-5/qt.html. We should get rid of old unsupported macros Q_WS_*.
(from redmine: created on 2015-08-11, closed on 2015-08-11)