Changes for wkthtmltopdf 0.12.1.2. (with patched qt)