简体   繁体   中英

How to implement GDAL library on Qt?

I need to make a GUI on Qt Creator using GDAL. I'm having some trouble while trying to implement GDAL on Qt Creator. I learned that I should've used MinGW for that. However, I could not find any documentation or instruction showing how to make implementation. Could you guys help?

I will try to help you and tell you what you have to do)) 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 += .../GDAL/Maked/include
LIB += -L/path_to_lib -lgdal-20

run qmake, build project, move gdal-20.dll , libstdc++-6.dll , libiconv-2.dll dlls in current working directory how to work with her? you can see here

GDAL Warp API tutorial

Raster API tutorial

Using C++ Classes, Templates, and GDAL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM