In this note, we review our construction of de Sitter vacua in type IIB flux compactifications, in which moduli stabilization and D-term uplifting can be combined consistently with the supergravity constraints. Here, the closed string fluxes fix the dilaton and the complex structure moduli while perturbative quantum corrections to the Kähler potential stabilize the volume Kähler modulus in an AdS 4 -vacuum. Then, magnetized D7-branes provide consistent supersymmetric D-term uplifting towards dS 4 . Based on hep-th/0602253. This is the transcript of a talk given by A. W. at the RTN project 'Constituents, fundamental forces and symmetries of the universe' conference in Napoli, October 9 -13, 2006.