Open barracuda156 opened 6 months ago
I believe this is due to a mismatch in C++ version requirements. Qt6 requires C++17 and Exiv2 0.27.x requires C++03. Typically that is no problem, however, std::auto_ptr
was removed in C++17. This is fixed in Exiv2 0.28.x.
It is possible, however, to re-enable auto_ptr
for Clang. To do so, add this line anywhere in the CMakeLists.txt file, for example around line 22:
add_definitions(-D_HAS_AUTO_PTR_ETC=1)
@luspi Thank you, I will try that.
@luspi Tried to build 4.2 with Qt6 now, however it fails on the following:
Is it does to version incompatibility or something else? Macports has 0.27.6 at the moment: https://github.com/macports/macports-ports/blob/7aa619147e087b71b2da4a2f916adeb96cbb5859/graphics/exiv2/Portfile#L9