I read several advices how to get an actual QString from a Q_ENUM value.
QString
Q_ENUM
Below are 3 possible ways, I came up with, that are compilable constru
Another, more elegant way, is by using QVariant's toString() method:
QString errStr = QVariant::fromValue(error).toString(); ui->statusBar->showMessage("Error occured: " + errStr);