compiling with gcc is fine if you want to use your plugin with Qt Designer

the only thing I can think about are :

  • debug/release mismatch
  • missing symbol in your plugin (a method not implemented for instance) which cause outright loading failure