Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I asked a question here: and I was suggested to find the library which provides QgsOgrProvider::createEmptyLayer() function. Can anyone help me with this? Thanks.

share|improve this question
up vote 0 down vote accepted

Try to find and link against it:

g++ code_out.o -o yourapp -L/path/to/qgis/PlugIns/qgis/ -logrprovider
share|improve this answer
Thanks, it helped. – TinF Feb 12 '13 at 11:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.