qt: use correct define for static Qt lib check
QT_STATICPLUGIN is meant for building a static Qt plugin [1], and not for testing if the used Qt is a static or shared build: That should be done with QT_STATIC. Since we are not building a static Qt plugin, use QT_STATIC.
Edited by Johannes Kauffmann