QVariant no longer accepts Qt::GlobalColor, so the values need to be wrapped in a QColor() constructor
Merge pull request #377 from TNick/Qt5_QColor_required

Wrap Qt::GlobalColor in QColor()