boehs / Lightly

A modern style for qt applications.
Other
213 stars 10 forks source link

Unable to build the theme! #29

Open DavidRLTG opened 5 months ago

DavidRLTG commented 5 months ago

Here are my logs, I was at the 4th step: make.


[  1%] Built target lightlycommon5_autogen
Consolidate compiler generated dependencies of target lightlycommon5
[  5%] Built target lightlycommon5
[  6%] Automatic MOC for target lightlydecoration
[  6%] Built target lightlydecoration_autogen
Consolidate compiler generated dependencies of target lightlydecoration
[  7%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximized() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:192:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  192 |     { return client().data()->isMaximized() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedHorizontally() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:195:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  195 |     { return client().data()->isMaximizedHorizontally() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isMaximizedVertically() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:198:27: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  198 |     { return client().data()->isMaximizedVertically() && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |              ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isLeftEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:201:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  201 |     { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:201:74: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  201 | (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::LeftEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isRightEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:204:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  204 |     { return (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:204:74: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  204 | (client().data()->isMaximizedHorizontally() || client().data()->adjacentScreenEdges().testFlag( Qt::RightEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isTopEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:207:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  207 |     { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:207:72: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  207 | n (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::TopEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::isBottomEdge() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:210:28: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  210 |     { return (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |               ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:210:72: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  210 | n (client().data()->isMaximizedVertically() || client().data()->adjacentScreenEdges().testFlag( Qt::BottomEdge ) ) && !m_internalSettings->drawBorderOnMaximizedWindows(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
In file included from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h: In member function ‘bool Lightly::Decoration::hideTitleBar() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.h:213:66: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  213 |  return m_internalSettings->hideTitleBar() && !client().data()->isShaded(); }
      |                                                ~~~~~~~~~~~~~^~

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::titleBarColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:195:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  195 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::outlineColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:211:30: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  211 |         auto c( client().data() );
      |                 ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QColor Lightly::Decoration::fontColor() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:226:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  226 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘virtual void Lightly::Decoration::init()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:240:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  240 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateBlur()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:302:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  302 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:313:15: error: ‘class Lightly::Decoration’ has no member named ‘setBlurRegion’
  313 |         this->setBlurRegion(QRegion(m_windowPath->toFillPolygon().toPolygon()));
      |               ^~~~~~~~~~~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::calculateWindowAndTitleBarShapes(bool)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:319:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  319 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateTitleBar()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:366:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  366 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateAnimationState()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:381:35: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  381 |             auto c = client().data();
      |                      ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::updateSizeGripVisibility()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:395:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  395 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::recalculateBorders()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:464:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  464 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘virtual void Lightly::Decoration::paint(QPainter*, const QRect&)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:592:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  592 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::paintTitleBar(QPainter*, const QRect&)’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:635:37: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  635 |         const auto c = client().data();
      |                        ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘QPair<QRect, QFlags<Qt::AlignmentFlag> > Lightly::Decoration::captionRect() const’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:745:35: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  745 |             auto c = client().data();
      |                      ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp: In member function ‘void Lightly::Decoration::createSizeGrip()’:
/home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:890:31: warning: ‘T* QWeakPointer<T>::data() const [with T = KDecoration2::DecoratedClient]’ is deprecated: Use toStrongRef() instead, and data() on the returned QSharedPointer [-Wdeprecated-declarations]
  890 |         auto c = client().data();
      |                  ~~~~~~~~~~~~~^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,
                 from /usr/include/KF5/KConfigGui/kconfigskeleton.h:17,
                 from /home/davidrltg/Lightly/build/kdecoration/lightlysettings.h:7,
                 from /home/davidrltg/Lightly/kdecoration/lightly.h:24,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.h:25,
                 from /home/davidrltg/Lightly/kdecoration/lightlydecoration.cpp:23:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer_impl.h:562:8: note: declared here
  562 |     T *data() const noexcept { return internalData(); }
      |        ^~~~
make[2]: *** [kdecoration/CMakeFiles/lightlydecoration.dir/build.make:129: kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:574: kdecoration/CMakeFiles/lightlydecoration.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
writeblankspace commented 4 months ago

I have the same problem. I tried to uninstall and got another error:

CMake Error at ecm_uninstall.cmake:2 (message):
  Cannot find install manifest:
  /home/gabrielle/Lightly/build/install_manifest.txt

make[3]: *** [CMakeFiles/uninstall.dir/build.make:70: CMakeFiles/uninstall] Error 1
make[2]: *** [CMakeFiles/Makefile2:247: CMakeFiles/uninstall.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:254: CMakeFiles/uninstall.dir/rule] Error 2
make: *** [Makefile:169: uninstall] Error 2