Include exiv2.hpp instead of individual headers:
Headers are subject to refactoring upstream, using exiv2.hpp per recommendation.
Enable exceptions globally - otherwise, lots of the following error:
In file included from /usr/include/exiv2/types.hpp:34, from /usr/include/exiv2/image.hpp:28, from gwenview-18.12.0/lib/cms/cmsprofile.h:33, from gwenview-18.12.0/lib/cms/cmsprofile.cpp:22: /usr/include/exiv2/slice.hpp: In constructor ‘Exiv2::Internal::SliceBase::SliceBase(size_t, size_t)’: /usr/include/exiv2/slice.hpp:99:77: error: exception handling disabled, use -fexceptions to enable throw std::out_of_range("Begin must be smaller than end"); ^