Hmm, it seems cups support is disabled after all.

Looks to me like Qt disables cups because I configure with -static. Is there a way to build Qt static and still enable cups support?