add qconsolewriter.go