[ On gentoo's live-git master packages at kwin commit 648b2a5bf ] commit e1024d38d cmake: Specify link libraries per effect target ... broke building the slidingpopups and startupfeedback effects and thus building kwin. The error (for slidingpopups in this case) is: effects/slidingpopups/slidingpopups.cpp:14:10: fatal error: QApplication: No such file or directory 14 | #include <QApplication> The fix is adding Qt::Widgets to the slidingpopups and startupfeedback CMakeLists.txt files under target_link_libraries. With that they and kwin build again.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2027
Git commit d6b3b57ba16368d44a2e06eca735275825597267 by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/zoom: Remove QApplication include M +0 -1 src/effects/zoom/zoom.cpp https://invent.kde.org/plasma/kwin/commit/d6b3b57ba16368d44a2e06eca735275825597267
Git commit 81d6631733bcbb1a32c6d124be4567d1b4cacf7b by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/presentwindows: Remove QApplication include M +0 -1 src/effects/presentwindows/presentwindows.cpp https://invent.kde.org/plasma/kwin/commit/81d6631733bcbb1a32c6d124be4567d1b4cacf7b
Git commit 7ba68fde8cb619ed110b46a7e3f129dfa7553d7f by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/slidingpopups: Avoid using QApplication M +3 -3 src/effects/slidingpopups/slidingpopups.cpp https://invent.kde.org/plasma/kwin/commit/7ba68fde8cb619ed110b46a7e3f129dfa7553d7f
Git commit 2ff90936042f0948c4a7bc5d9608c390f02c9886 by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/desktopgrid: Port to QStyleHints Let's us avoid making the desktop grid effect depend on qtwidgets. M +5 -4 src/effects/desktopgrid/desktopgrid.cpp https://invent.kde.org/plasma/kwin/commit/2ff90936042f0948c4a7bc5d9608c390f02c9886
Git commit 4acae79d54c652c9417f1e8b5e400ffd6773ef43 by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/startupfeedback: Add Qt::Widgets dependency M +1 -0 src/effects/startupfeedback/CMakeLists.txt https://invent.kde.org/plasma/kwin/commit/4acae79d54c652c9417f1e8b5e400ffd6773ef43
Git commit 9cca0a6f85caf164ebfbf344dfa740a862d93043 by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/blur: Use QGuiApplication::instance() instead of qApp qApp is defined differently depending on whether QCoreApplication, QGuiApplication, or QApplication is included. Use QGuiApplication::instance() to improve code readability. M +2 -2 src/effects/blur/blur.cpp https://invent.kde.org/plasma/kwin/commit/9cca0a6f85caf164ebfbf344dfa740a862d93043
Git commit 1b4f3960fd7e5159f4e3aaea669e55e82a276e18 by Vlad Zahorodnii. Committed on 17/02/2022 at 07:22. Pushed by vladz into branch 'master'. effects/contrast: Use QGuiApplication::instance() instead of qApp qApp is defined differently depending on whether QCoreApplication, QGuiApplication, or QApplication is included. Use QGuiApplication::instance() to improve code readability. M +2 -1 src/effects/backgroundcontrast/contrast.cpp https://invent.kde.org/plasma/kwin/commit/1b4f3960fd7e5159f4e3aaea669e55e82a276e18
Verified fixed and building as of 886173cab.