compiling problems

Johannes Zarl-Zierl johannes at zarl-zierl.at
Fri Dec 19 22:44:07 GMT 2025


Hi Andreas,


Am Freitag, 19. Dezember 2025, 15:11:13 Mitteleuropäische Normalzeit schrieb 
Andreas Schleth via KPhotoAlbum:
>      # 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

"rm -rf *" misses hidden files, if there are any. You should delete the whole 
build directory instead. I also like to avoid wildcards when not needed.

I usually do a "make clean" or "ninja clean" instead and trust the build 
system to know which files to clean. Deleting the whole build directory is more 
like a fallback in case the cmake configuration also needs to be deleted.



> 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:
>       |         ^~~~
> 
> Thanks for the tipp!

This is an actual bug in kphotoalbum. I'm unsure why I did not get the same 
warning. I've fixed the statement now.

Thanks, and cheers,
  Johannes




More information about the KPhotoAlbum mailing list