if ((mPluginFactory = qobject_cast<iPluginFactory *>(root)) == 0) {
// If not, then it has to implement the iPlugin interface
if ((mPluginFactory = qobject_cast<iPluginFactory *>(root)) == 0) {
// If not, then it has to implement the iPlugin interface