Omit Qt stuff from saved script if possible