[Qt-interest] QT & GDAL/OGR
Brad Hards
bradh at frogmouth.net
Thu Jul 7 12:09:47 CEST 2011
On Thursday 07 July 2011 00:49:16 b-junsong wrote:
> Hi:
> I want to use the GDAL/OGR to open and read the ESRI Shapefile data in my
> qt project, but now I have many problems:
> 1. I use the libgdal.so in my program, and it was build successful, but
> when I run it the qtcreator show : error while loading shared libraries:
> libgdal.so.1: cannot open shared object file: No such file or directory I
> don't know the reason.
Probably when you installed it you didn't run ldconfig.
> 2. The GDAL/OGR is very complex and huge. Any one have the experience to
> remove the useless lib to us. Tanks for you help !
I think you'll have to do this work yourself. gdal is pretty flexible, so maybe
you can just drop the shared librares you aren't using.
Brad
More information about the Qt-interest-old
mailing list