Maybe a missing include? Try:
Qt Code:
  1. #include <QtPlugin>
To copy to clipboard, switch view to plain text mode