- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
There is for sure more work to be done, but this easy patch doesn't even hurt our current code! For more details see: http://www.kdab.com/porting-from-qt-4-to-qt-5/
There is for sure more work to be done, but this easy patch doesn't even hurt our current code! For more details see: http://www.kdab.com/porting-from-qt-4-to-qt-5/
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported
in Qt4/5)
There is another simple QT5 change that you could include in this pull.
Line 5 of macdockiconhandler.mm can be changed from
#include <QtGui/QWidget>
to
#include <QWidget>
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/81605d90f53e5ab500f56927f4337bbc7f2d24f8 for binaries and test log.