I've changed which version of qwt to use in this project. The problem went away.