changed error reporting code
added QT_NO_DEBUG_OUTPUT to all no debugging targets