Bug 406436 - Build fails for older kde frameworks versions
Summary: Build fails for older kde frameworks versions
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-11 13:32 UTC by Michail Vourlakos
Modified: 2019-04-11 13:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michail Vourlakos 2019-04-11 13:32:46 UTC
[ 73%] Building CXX object app/CMakeFiles/latte-dock.dir/view/settings/primaryconfigview.cpp.o
/home/kubuntu/latte-dock/app/view/settings/primaryconfigview.cpp: In lambda function:
/home/kubuntu/latte-dock/app/view/settings/primaryconfigview.cpp:83:87: error: ‘SkipSwitcher’ is not a member of ‘NET’
KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::SkipSwitcher);
^~~~~~~~~~~~
/home/kubuntu/latte-dock/app/view/settings/primaryconfigview.cpp: In member function ‘void Latte::ViewPart::PrimaryConfigView::setupWaylandIntegration()’:
/home/kubuntu/latte-dock/app/view/settings/primaryconfigview.cpp:435:25: error: ‘class KWayland::Client::PlasmaShellSurface’ has no member named ‘setSkipSwitcher’; did you mean ‘setSkipTaskbar’?
m_shellSurface->setSkipSwitcher(true);
^~~~~~~~~~~~~~~
setSkipTaskbar
app/CMakeFiles/latte-dock.dir/build.make:1037: recipe for target 'app/CMakeFiles/latte-dock.dir/view/settings/primaryconfigview.cpp.o' failed
make[2]: *** [app/CMakeFiles/latte-dock.dir/view/settings/primaryconfigview.cpp.o] Error 1
CMakeFiles/Makefile2:497: recipe for target 'app/CMakeFiles/latte-dock.dir/all' failed
make[1]: *** [app/CMakeFiles/latte-dock.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Michail Vourlakos 2019-04-11 13:43:20 UTC
Git commit 7ec1f6b928018cbf4c3015273e4922404da1b3b0 by Michail Vourlakos.
Committed on 11/04/2019 at 13:42.
Pushed by mvourlakos into branch 'master'.

support kde_frameworks<=47 for settings windows

M  +7    -0    app/view/settings/primaryconfigview.cpp
M  +7    -0    app/view/settings/secondaryconfigview.cpp

https://commits.kde.org/latte-dock/7ec1f6b928018cbf4c3015273e4922404da1b3b0