[dev-qt/qtgui:5] Several updates to align with changes in Qt 5.3

Also fixing bug #498060.

Package-Manager: portage-2.2.10