| Summary: | kwin commit 6576a83ae breaks build: missing QApplication | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Duncan <1i5t5.duncan> |
| Component: | effects-various | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/commit/0fc4bf7fbad50b1ef39d957fe9a8f2fa5f92ec41 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | This fixes it for me. | ||
|
Description
Duncan
2022-07-26 09:03:56 UTC
CCing David as author/committer. Created attachment 150918 [details]
This fixes it for me.
Indeed, a Qt:Widgets line seems to do it. I'm not a coder so I don't know if this is the "correct" fix, but it works for me. (And I only know git from a gentoo-running consumer side so a gitlab merge request is beyond me.)
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2722 Git commit 1f9c3178788d793d05a9065163569cb035b759c8 by David Redondo. Committed on 26/07/2022 at 10:06. Pushed by davidre into branch 'master'. Remove unneeded include M +0 -1 src/effects/outputlocator/outputlocator.cpp https://invent.kde.org/plasma/kwin/commit/1f9c3178788d793d05a9065163569cb035b759c8 (In reply to David Redondo from comment #4) > Git commit 1f9c3178788d793d05a9065163569cb035b759c8 by David Redondo. > Committed on 26/07/2022 at 10:06. > Pushed by davidre into branch 'master'. > > Remove unneeded include Doesn't seem to do it. Still getting a similar altho slightly different in the details error: /tmp/portage/kde-plasma/kwin-9999/work/kwin-9999/src/effects/outputlocator/outputlocator.cpp:11:10: fatal error: QApplication: No such file or directory 11 | #include <QApplication> | ^~~~~~~~~~~~~~ compilation terminated. (In reply to Duncan from comment #5) > (In reply to David Redondo from comment #4) > > Remove unneeded include > > Doesn't seem to do it. Still getting a similar altho slightly different in > the details error: ... and reenabling my patch with the Qt::Widgets line still builds fine, so indeed, the include you removed doesn't appear to be needed, but removing it doesn't fix the problem of the missing QApplication. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2724 Git commit 0fc4bf7fbad50b1ef39d957fe9a8f2fa5f92ec41 by David Redondo. Committed on 26/07/2022 at 11:32. Pushed by davidre into branch 'master'. Remove another unneded include GIT_SILENT M +0 -1 src/effects/outputlocator/outputlocator.cpp https://invent.kde.org/plasma/kwin/commit/0fc4bf7fbad50b1ef39d957fe9a8f2fa5f92ec41 |