[KPhotoAlbum] Building KPA fails ... (not anymore :-)

Andreas Schleth schleth_es at web.de
Sat Oct 10 23:35:12 BST 2020


Hi,

just to message the list: Robert fixed the problem and we have a running
KPA again: v5.7.0-24-gdcc481ab

(even with dcraw - you just have to pull in the *right* devel package)

have a nice weekend, Andreas

Am 10.10.20 um 22:40 schrieb Andreas Schleth:
> 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
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/kphotoalbum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20201011/d3c5fadf/attachment.htm>


More information about the Kphotoalbum mailing list