Using GCC 5.3.0 and cmake 3.5.1 build fails with this error: [ 81%] Building CXX object utilities/queuemanager/CMakeFiles/queuemanager_src.dir/manager/batchtoolsmanager.cpp.o In file included from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:0: /tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:86:12: error: conflicting return type specified for 'virtual void Digikam::KipiInterface::preview(const QUrl&, int)' void preview(const QUrl& url, int resizedTo); ^ In file included from /usr/include/KF5/KIPI/KIPI/Interface:1:0, from /tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:41, from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49: /usr/include/KF5/KIPI/kipi/interface.h:357:20: error: overriding 'virtual QImage KIPI::Interface::preview(const QUrl&, int)' virtual QImage preview(const QUrl& url, int minSize); ^ /usr/include/KF5/KIPI/kipi/interface.h:378:18: warning: 'virtual void KIPI::Interface::preview(const QUrl&, int, int)' was hidden [-Woverloaded-virtual] virtual void preview(const QUrl& url, int minSize, int resizedTo=-1); ^ In file included from /tmp/digikam/utilities/kdesupport/kipi/kipiimagecollectionselector.cpp:49:0: /tmp/digikam/utilities/kdesupport/kipi/kipiinterface.h:86:12: warning: by 'Digikam::KipiInterface::preview' [-Woverloaded-virtual] void preview(const QUrl& url, int resizedTo); ^ utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/build.make:86: recipe for target 'utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/kipiimagecollectionselector.cpp.o' failed make[2]: *** [utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/kipiimagecollectionselector.cpp.o] Error 1 CMakeFiles/Makefile2:7465: recipe for target 'utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/all' failed make[1]: *** [utilities/kdesupport/kipi/CMakeFiles/kipiiface_src.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
*** This bug has been marked as a duplicate of bug 360473 ***
Fixed with bug #360473