Changeset 5411 in ntrip
- Timestamp:
- Sep 10, 2013, 3:50:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/main/mainwin.cpp
r5410 r5411 43 43 44 44 foreach (QString fileName, pluginsDir.entryList(QDir::Files)) { 45 qDebug() << pluginsDir.absoluteFilePath(fileName);46 45 QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); 47 qDebug() << loader.errorString();48 46 QObject* object = loader.instance(); 49 qDebug() << object; 50 qDebug() << loader.errorString(); 51 if (object) { 47 if (!object) { 48 qDebug() << loader.errorString(); 49 } 50 else { 52 51 t_pluginFactoryInterface* plugin = qobject_cast<t_pluginFactoryInterface*>(object); 53 52 if (plugin) {
Note:
See TracChangeset
for help on using the changeset viewer.