Skip to content
Permalink
Browse files
Fix those pesky 'cannot find providerKey() or description()' messages
when starting qgis


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4951 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Mar 3, 2006
1 parent a331381 commit bf928f8fedf63b194f5e0249fb24ba2fd4cb9490
Showing with 10 additions and 10 deletions.
  1. +10 −10 src/core/qgsproviderregistry.cpp
@@ -156,18 +156,17 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
QgsDebug( QString("No vector file filters for " + pKey()).ascii() );
}
}
else
{
QgsDebug( "Unable to invoke fileVectorFilters()" );
}
}
else
{
cout << myLib->library().data()
<< " Unable to find one of the required provider functions:\n\tproviderKey() or description()"
<< endl;
QgsDebug( "Unable to invoke fileVectorFilters()" );
}
}
else
{
cout << "Unable to find one of the required provider functions (providerKey() or description()) in "
<< myLib->library().toLocal8Bit().data() << endl;
}
}
else
{
@@ -176,9 +175,10 @@ QgsProviderRegistry::QgsProviderRegistry(QString pluginPath)
}
else
{
cout << myLib->library().data()
<< " Unable to find one of the required provider functions:\n\tproviderKey() or description()"
<< endl;
#ifdef QGISDEBUG
cout << myLib->library().toLocal8Bit().data()
<< " is not a provider" << std::endl;
#endif
}
}

0 comments on commit bf928f8

Please sign in to comment.