Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues on Plasma 6 - EndeavourOS #19

Open
linusrg1 opened this issue Mar 14, 2024 · 0 comments
Open

Build issues on Plasma 6 - EndeavourOS #19

linusrg1 opened this issue Mar 14, 2024 · 0 comments

Comments

@linusrg1
Copy link

When attempting to build the package on Plasma six I receive this error message.

`In file included from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlybutton.h:25,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/moc_lightlybutton.cpp:10,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/mocs_compilation.cpp:6:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:112:14: error: conflicting return type specified for ‘virtual void Lightly::Decoration::init()’
112 | void init() override;
| ^~~~
In file included from /usr/include/KDecoration2/KDecoration2/Decoration:1,
from /home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:28:
/usr/include/KDecoration2/kdecoration2/decoration.h:201:18: note: overridden function is ‘virtual bool KDecoration2::Decoration::init()’
201 | virtual bool init() = 0;
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximized() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:192:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
192 | { return client().data()->isMaximized() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedHorizontally() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:195:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
195 | { return client().data()->isMaximizedHorizontally() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedVertically() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:198:23: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
198 | { return client().data()->isMaximizedVertically() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isLeftEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:201:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
201 | { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:201:70: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
201 | n (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isRightEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:204:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
204 | { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:204:70: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
204 | n (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isTopEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:207:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
207 | { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:207:68: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
207 | urn (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isBottomEdge() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:210:24: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
210 | { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:210:68: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
210 | urn (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
| ^~~~

/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::hideTitleBar() const’:
/home/izumiu/ダウンロード/Lightly/build/kdecoration/lightlydecoration_autogen/EWIEGA46WW/../../../../kdecoration/lightlydecoration.h:213:62: error: request for member ‘data’ in ‘((const Lightly::Decoration*)this)->Lightly::Decoration::.KDecoration2::Decoration::client()’, which is of pointer type ‘KDecoration2::DecoratedClient*’ (maybe you meant to use ‘->’ ?)
213 | { return m_internalSettings->hideTitleBar() && !client().data()->isShaded(); }
| ^~~~

`

Maybe I am missing a package, or maybe I misunderstood the current state of plasma 6 compatibility?

Thanks in advance!

P.S I just updated my laptop now. So all the packages on my system should be quite new.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant