Use xmessage for warnings and errors when qt is not running