Clean up RST headers and finalize Qt adapter