Made Qwt compatible to latest Qt version.
Merge branch 'bug-18501-Qwt610Qt54'