You probably built Qwt with another version of Qt than the one that is used when the examples are executed.