Report question

Question: how-to add "warnings as error" rule to Qt .pro file?