Hi It seems I get this error while building against Qt 5.14 [ 35%] Building CXX object src/CMakeFiles/kdecorations2.dir/decorationshadow.cpp.o [ 37%] Building CXX object src/CMakeFiles/kdecorations2.dir/decoratedclient.cpp.o /srcbuild/kdecoration/src/decoration.cpp: In member function ‘virtual void KDecoration2::Decoration::wheelEvent(QWheelEvent*)’: /srcbuild/kdecoration/src/decoration.cpp:386:37: error: ‘class QWheelEvent’ has no member named ‘posF’ if (button->contains(event->posF())) { ^~~~ make[2]: *** [src/CMakeFiles/kdecorations2.dir/build.make:89: src/CMakeFiles/kdecorations2.dir/decoration.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /srcbuild/kdecoration/src/decorationbutton.cpp: In member function ‘void KDecoration2::DecorationButton::Private::init()’: /srcbuild/kdecoration/src/decorationbutton.cpp:67:35: error: ‘class QWeakPointer<KDecoration2::DecoratedClient>’ has no member named ‘data’; did you mean ‘Data’? auto c = decoration->client().data(); ^~~~ Data make[2]: *** [src/CMakeFiles/kdecorations2.dir/build.make:102: src/CMakeFiles/kdecorations2.dir/decorationbutton.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:229: src/CMakeFiles/kdecorations2.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
FWIW, the release will. It's this weird line: if (EXISTS "${CMAKE_SOURCE_DIR}/.git") add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) endif() Which has caused other problems for us
Git commit dc45cf7a1d35d4c728c7999b02e0ccdde4653b58 by David Edmundson. Committed on 25/11/2019 at 12:41. Pushed by davidedmundson into branch 'master'. Revert "GIT_SILENT: it compiles fine without deprecated method" This reverts commit 8e5c8acadbd5a69ec8e3ecdfaf9b168ff22579ae. This breaks the build. Also can we take this to the ML first. Kossebau says we should be doing something different M +0 -4 CMakeLists.txt https://commits.kde.org/kdecoration/dc45cf7a1d35d4c728c7999b02e0ccdde4653b58