compiling problems
Tobias Leupold
tl at stonemx.de
Fri Dec 19 14:51:46 GMT 2025
E-Mail vom Freitag, 19. Dezember 2025, 15:11:
> Hi Tobias,
>
> my last successful build was:
> KPhotoAlbum: v6.1.0-69-gd3c8e9ddf
> KDE Frameworks: 6.19.0
> Qt: Using 6.9.2 and built against 6.9.2
> TUXEDO OS (Xcb)
> Build ABI: x86_64-little_endian-lp64
> Kernel: linux 6.14.0-117036-tuxedo
>
> (I thought) by build script erases all previous files (now it does!):
> # werfe alle lokalen changes weg
> git checkout master
> git reset --hard
> # hole die aktuelle Version
> git pull
> # wechsle ins build-Verz.
> cd build
> # lösche cmake-Reste ### Das reicht nicht (19.12.2025)!
> #rm -rf C* c*
> # lösche alles
> rm -rf *
> # doit!
> cmake -DCMAKE_INSTALL_PREFIX=/usr/local
> -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
> make -j12
> # teste Demo
> export LANG=C
> ./bin/kphotoalbum --demo
> export LANG=de_DE
> ./bin/kphotoalbum --demo
>
> With the update, the build went through:
> KPhotoAlbum: v6.1.0-98-gbe3f000f5
Simplest way to ship around such stuff is to delete the whole thing and start with a new empty build directory (without hidden dotfiles). That's the first thing I do when I encounter strange errors :-)
> There are, however, some warnings:
>
> kphotoalbum/Settings/VideoPlayerSelectorDialog.cpp:75:23: warning: this
> statement may fall throu
> gh [-Wimplicit-fallthrough=]
> 75 | candidate = m_qtmm;
> | ~~~~~~~~~~^~~~~~~~
> /home/usr/src/kphotoalbum-git/kphotoalbum/Settings/VideoPlayerSelectorDialog.cpp:76:9:
> note: here
> 76 | case VideoBackend::Phonon:
> | ^~~~
Well, this is new code then (I must admit I didn't work on KPA for a few months now ...), which either needs an explicit [[fallthrough]] if it's meant to do so or a break statement.
I'm pretty sure rsquared and/or jzarl can help here!
> Thanks for the tipp!
>
> Andreas
>
> Am 19.12.25 um 12:03 schrieb Tobias Leupold:
> >> ...
> > looks like some stray old temporary build files cause this (moc version
> > mismatch, I suppose you have a newer Qt version than 6.8.2?).
> >
> > Have you tried in a new, empty build directory?
> >
> > Cheers, Tobias
> >
More information about the KPhotoAlbum
mailing list