Fix build error when using Qwt 6.1, followup to f283040