Extended emission and outflows around luminous QSOs