Changeset 5042 in ntrip for trunk/GnssCenter
- Timestamp:
- Mar 28, 2013, 5:27:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/main/mainwin.cpp
r5041 r5042 40 40 foreach (QString fileName, pluginsDir.entryList(QDir::Files)) { 41 41 QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); 42 QObject* plugin = loader.instance(); 43 qDebug() << fileName << plugin; 42 QObject* object = loader.instance(); 43 qDebug() << fileName << object; 44 45 if (object) { 46 t_pluginInterface* plugin = qobject_cast<t_pluginInterface*>(object); 47 qDebug() << "Plugin: " << plugin; 48 } 44 49 } 45 50
Note:
See TracChangeset
for help on using the changeset viewer.