[KPhotoAlbum] Building KPA fails ...

Andreas Schleth schleth_es at web.de
Sat Oct 10 21:40:23 BST 2020


Hi,

as I had my system messed up (it never was a good idea to mix two
different distributions) I had to rebuild KPA and for the first time in
ages, the build fails:

home/usr/src/kphotoalbum-git/kphotoalbum/XMLDB/XMLImageDateCollection.cpp:
In member function ‘void XMLDB::XMLImageDateCollection::buildIndex()’:
/home/usr/src/kphotoalbum-git/kphotoalbum/XMLDB/XMLImageDateCollection.cpp:35:83:
error: no matching function for call to
‘Utilities::FastDateTime::FastDateTime(QDate)’
      Utilities::FastDateTime biggestEnd =
Utilities::FastDateTime(QDate(1900, 1, 1));
^
In file included from
/home/usr/src/kphotoalbum-git/kphotoalbum/DB/ImageDate.h:21:0,
                  from
/home/usr/src/kphotoalbum-git/kphotoalbum/DB/ImageDateCollection.h:21,
                  from
/home/usr/src/kphotoalbum-git/kphotoalbum/XMLDB/XMLImageDateCollection.h:21,
                  from
/home/usr/src/kphotoalbum-git/kphotoalbum/XMLDB/XMLImageDateCollection.cpp:19:
/home/usr/src/kphotoalbum-git/kphotoalbum/Utilities/FastDateTime.h:48:5:
note: candidate: Utilities::FastDateTime::FastDateTime(const QDateTime&)
      FastDateTime(const QDateTime &other);
      ^~~~~~~~~~~~

... and so on. All messages relate to FastDateTime ...

I am working with opensuse Leap 15.2 (again :-)

KDE Frameworks 5.71.0 and Qt 5.12.7

This is my build script:

# werfe alle lokalen changes weg
git checkout master
git reset --hard
# hole die aktuelle Version
git pull
# setze debuginfos
export CMAKE_BUILD_TYPE=RelWithDebInfo
# wechsle ins build-Verz.
cd build
# lösche all cmake-Reste
rm -rf C* c*
# doit!
cmake ..
make -j8
# teste Demo
./kphotoalbum --demo

I guess, I just found some work in progress.

If any of you does not know how to spend the weekend ... :-)

Happy hacking, Andreas




More information about the Kphotoalbum mailing list