You have to use the Qwt 5.2 branch from SVN.