\[\qint_{0}^{a}f(x)\,{\mathrm{d}}_{q}x=a(1-q)\sum_{j=0}^{\infty}f(aq^{j})q^{j}.\]