Changeset 5039 in ntrip
- Timestamp:
- Mar 28, 2013, 5:19:25 PM (11 years ago)
- Location:
- trunk/GnssCenter
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/main/mainwin.cpp
r5033 r5039 32 32 setCentralWidget(_mdi); 33 33 34 // Handle Static Plugins 35 // --------------------- 36 qDebug() << "Number of static plugins: " << QPluginLoader::staticInstances().size(); 37 foreach (QObject* plugin, QPluginLoader::staticInstances()) { 34 // Handle Plugins 35 // -------------- 36 QDir pluginsDir = QDir(qApp->applicationDirPath()); 37 38 qDebug() << pluginsDir; 39 40 foreach (QString fileName, pluginsDir.entryList(QDir::Files)) { 41 QPluginLoader loader(pluginsDir.absoluteFilePath(fileName)); 42 QObject* plugin = loader.instance(); 43 qDebug() << fileName << plugin; 38 44 } 39 45
Note:
See TracChangeset
for help on using the changeset viewer.