@mpnix said in How to add a 3rd party C++ library to a Qt project?:
So, what does "do it properly" mean in reality? Sticking with CMake seems a first wise step (I only looked at the "Make" stuff to see if it gave me any different outcome - it didn't).
After taking a closer look, it seem to require a Cygwin environment under Windows, which is also stated here:
@Pl45m4 said in How to add a 3rd party C++ library to a Qt project?:
Requirements
The exiftool application must exist on the system. This interface should be platform independent, and has been tested on Mac OS X, Linux, and Windows (Cygwin).
So it's only "pseudo" platform-indepentent.
Can't tell you much about Cygwin... for Unix/Linux optimized stuff I use Linux directly and not Windows.
You could try another, more Windows friendly, Exif library. For example this one:
https://github.com/exiv2/exiv2
As far as I can see, it also supports CMake builds "out-of-the-box"... so no MakeFile converting etc. etc.