<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I am trying to do a custom application using QGIS libs and I have
    trouble to use data providers (i.e. spatialite).<br>
    <br>
    In my application doing,
    QgsProviderRegistry::instance()->pluginList() returns
    <meta name="qrichtext" content="1">
    "
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style>No data provider plugins are available. No vector layers can be
    loaded".<br>
    <br>
    Then of course, trying to create a new db as it is done on
    QgsNewSpatialiteLayerDialog is impossible (
    QgsProviderRegistry::instance()->library( "spatialite" );  )<br>
    and loading layers with <br>
    QgsVectorLayer* vl = new QgsVectorLayer(
    "dbname='path_to_sqlite_file' table='mytable'' (geometry) sql=",
    "layername", "spatialite" );<br>
    fails.<br>
    <br>
    I believe I am missing something fundamental here, but I have no
    idea what.<br>
    <br>
    If anybody has a lead, thanks a lot.<br>
    <br>
    Cheers,<br>
    <br>
    Denis<br>
    <br>
  </body>
</html>