Or using stylesheet -

qApp->setStyleSheet("color:red");