Changeset 5052 in ntrip for trunk/GnssCenter/main/mainwin.cpp
- Timestamp:
- Mar 28, 2013, 6:43:15 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/main/mainwin.cpp
r5045 r5052 41 41 QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); 42 42 QObject* object = loader.instance(); 43 qDebug() << fileName << object; 44 43 qDebug() << pluginsDir.absoluteFilePath(fileName) << object; 45 44 if (object) { 46 t_plugin Interface* plugin = qobject_cast<t_pluginInterface*>(object);45 t_pluginFactoryInterface* plugin = qobject_cast<t_pluginFactoryInterface*>(object); 47 46 qDebug() << "Plugin: " << plugin; 48 47 if (plugin) { 49 plugin->show(); 48 t_pluginInterface* widget = plugin->create(); 49 widget->show(); 50 50 } 51 51 }
Note:
See TracChangeset
for help on using the changeset viewer.