qt: merge patches from Arch for some bugfixes; misc tweaks for 32bit pkgs.