Qwt library: some work on upgrading to version 6.1.2 [ci skip].