alexeymin added a comment.
Second error is revealed after the first one is fixed:
Scanning dependencies of target qqc2desktopstyleplugin
[ 40%] Building CXX object
plugin/CMakeFiles/qqc2desktopstyleplugin.dir/qqc2desktopstyleplugin_autogen/mocs_compilation.cpp.o
[ 60%] Building CXX object
plugin/CMakeFiles/qqc2desktopstyleplugin.dir/qqc2desktopstyleplugin.cpp.o
[ 80%] Building CXX object
plugin/CMakeFiles/qqc2desktopstyleplugin.dir/kquickstyleitem.cpp.o
/home/minnehanov/dev/kde/fw/qqc2-desktop-style/plugin/kquickstyleitem.cpp:54:10:
fatal error: ksharedconfig.h: Нет такого файла или каталога
#include <ksharedconfig.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
`plugin/kquickstyleitem.cpp` includes `ksharedconfig.h` but KConfig was not
specified as a link dependency for this target. Previously it was found
transitively via KF5ConfigWidgets I guess? Now without those optional
dependencies it cannot be built. So KConfig should explicitly be specified as
another required KF5 dependency, along with Kirigami.
REPOSITORY
R858 Qt Quick Controls 2: Desktop Style
REVISION DETAIL
https://phabricator.kde.org/D24363
To: alexeymin
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2,
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed,
jensreuterberg, abetts, sebas, apol, mart