Qt + GDAL Library
-
i want to connect gdal library with my qt project and use its function.. but i dont know how to add it plz help me ......
i want to know all the steps to connect external library like gdal with Qt.... plz give a example if possible...
thanx .. -
in general,
-
download library's binary, header file (if not found, have to build from lib source)
-
place in some local folder.
-
add in .pro file
INCLUDEPATH += "/path_to_include"
LIB += "-L/path_to_lib -lname_of_lib -
run qmake
-
build project
for more details, refer to
"qmake reference":http://qt-project.org/doc/qt-5.0/qmake-reference.html -
-
Hello,
I'm having the same problem,I can't I don't know how to add the Gdal library to Qt,can you give me more explanations?
thnks
-
Please see the other GDAL forum entry by sslizz.
-
Can you tell me how to build it from source code?
Can I use QT Creator to build it?
If not how?
Thank you very much.[quote author="jys0224" date="1346865336"]in general,
-
download library's binary, header file (if not found, have to build from lib source)
-
place in some local folder.
-
add in .pro file
INCLUDEPATH += "/path_to_include"
LIB += "-L/path_to_lib -lname_of_lib -
run qmake
-
build project
for more details, refer to
"qmake reference":http://qt-project.org/doc/qt-5.0/qmake-reference.html[/quote] -
-
Hi,
The GDAL site gives you the building guide "here":http://trac.osgeo.org/gdal/wiki/BuildHints
-
Hi SGaist,
I see. Thanks a lot