qt: backport patches

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