qt: backport patches

websettings' and xframe options' patches have been backported from Qt5 to Qt4