Involved in the biosynthesis of sulfolipids found in thylakoid membranes. Converts UDP-glucose and sulfite to the sulfolipid head group precursor UDP-sulfoquinovose. The sulfite is delivered to the reaction center by the FMN-binding domain of FdGOGAT