qtgui: fixes issue of setting min/max when using qwt < 6.1.0.
Merge branch 'maint'
Merge branch 'master' into next