In this Qt version, obsolete functions and variables are now actually hidden in the header files if that compile definition is used.
QLayout::setMargin() -> setContentsMargins()
Qt::TextColorRole -> Qt::ForegroundRole
QComboBox::currentIndexChanged(const QString &) -> unavailable