Qt4: return NULL on getAout if no input