[Qgis-developer] compiling c++ application against qgis libs on ms windows

Martin Landa landa.martin at gmail.com
Thu Mar 21 03:22:36 PDT 2013


Hi,

2013/3/20 Jürgen E. <jef at norbit.de>:
>> Qt 4.8.4 (VS 2010) + VS 2010
>> from OSGeo4W qgis and qgis-devel
>
> Use qt from OSGeo4W and VS2008.

thanks a lot, it helped. Another problem - loading data providers (my
sample app loads Shapefile)

QgsProviderRegistry::instance(QgsApplication::pluginPath());

doesn't seems to work.

QgsProviderRegistry::instance( "/usr/local/lib/qgis/plugins" );

it works as expected.

Thanks for any hits, Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the Qgis-developer mailing list