DevHeads.net

dev setup on Kubuntu 19.04

I have been working through the 'getting started' page when I was stopped
dead in my tracks by this build error while building Dolphin.

I ran - *kdesrc-build dolphin --include-dependencies*
Which failed on just one module - *frameworkintegration*

Log output:

[ 53%] Building CXX object src/kstyle/CMakeFiles/KF5Style.dir/kstyle.cpp.o
[ 53%] Building CXX object
src/kstyle/CMakeFiles/KF5Style.dir/KF5Style_autogen/mocs_compilation.cpp.o
/home/stephen/kde/src/frameworkintegration/src/kstyle/kstyle.cpp: In member
function ‘virtual int KStyle::styleHint(QStyle::StyleHint, const
QStyleOption*, const QWidget*, QStyleHintReturn*) const’:
/home/stephen/kde/src/frameworkintegration/src/kstyle/kstyle.cpp:478:5:
warning: case value ‘4278190081’ not in enumerated type ‘QStyle::StyleHint’
[-Wswitch]
case SH_KCustomStyleElement:
^~~~
[ 57%] Linking CXX executable ../../../bin/appstreamhandler
[ 60%] Linking CXX executable ../../../bin/knshandlertest
[ 64%] Linking CXX executable ../../../bin/knshandler
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libAppStreamQt.so.0.12.6: undefined
reference to ` ... at Qt_5 dot 12'
collect2: error: ld returned 1 exit status
make[2]: ***
[src/kpackage-install-handlers/appstream/CMakeFiles/appstreamhandler.dir/build.make:99:
bin/appstreamhandler] Error 1
make[1]: *** [CMakeFiles/Makefile2:558:
src/kpackage-install-handlers/appstream/CMakeFiles/appstreamhandler.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Linking CXX shared module ../../bin/FrameworkIntegrationPlugin.so
[ 71%] Linking CXX shared library ../../bin/libKF5Style.so
[ 71%] Built target knshandlertest
[ 71%] Built target knshandler
[ 71%] Built target FrameworkIntegrationPlugin
[ 71%] Built target KF5Style
make: *** [Makefile:141: all] Error 2

Getting Started -
<a href="https://community.kde.org/Get_Involved/development" title="https://community.kde.org/Get_Involved/development">https://community.kde.org/Get_Involved/development</a>

*Where there's a Wille, there's a way.*