This paper concerns convex functions that arise as potentials of quasiconformal mappings. Several equivalent definitions for such functions are given. We use them to construct quasiconformal mappings whose Jacobian determinants are singular on a prescribed set of Hausdorff dimension less than 1.