Tag Info

New answers tagged


Found it! In Linux, CORE_EXPORT and GUI_EXPORT macros should be set empty, However in Windows you should define them in .pro file as follows: DEFINES += CORE_EXPORT="__declspec(dllimport)" DEFINES += GUI_EXPORT="__declspec(dllimport)"


You could do this easily enough in C++. The way I would do it is to send the path of the file you want to crop, the path of the output/cropped raster, the top left coordinates of the cropped raster and the width and height of the cropped raster. An outline for your code could look something like this. . . void crop(const char *inputPath, const char ...

Top 50 recent answers are included