We study the q-difference sixth Painlevé equation (qtext {P}_{text {VI}}) through its associated Riemann–Hilbert problem (RHP) and show that the RHP is always solvable for irreducible monodromy data. This enables us to identify the solution space of qtext {P}_{text {VI}} with a monodromy manifold for generic parameter values. We deduce this manifold explicitly and show it is a smooth and affine algebraic surface when it does not contain reducible monodromy. Furthermore, we describe the RHP for reducible monodromy data and show that, when solvable, its solution is given explicitly in terms of certain orthogonal polynomials yielding special function solutions of qtext {P}_{text {VI}}.