Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655844 - app-admin/keepassxc-2.3.3 with Qt 5.11: error: invalid use of incomplete type ‘class QButtonGroup’
Summary: app-admin/keepassxc-2.3.3 with Qt 5.11: error: invalid use of incomplete type...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
Keywords: PATCH
Depends on: 664556
Blocks: qt-5.11
  Show dependency tree
Reported: 2018-05-16 07:29 UTC by Markus Rathgeb
Modified: 2018-08-25 11:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Patch that adds the missing include (qt-5.11-edit-entry-widget-includes.patch,321 bytes, patch)
2018-05-16 07:29 UTC, Markus Rathgeb
Details | Diff
build.log that shows the error (build.log,465.02 KB, text/x-log)
2018-05-16 07:30 UTC, Markus Rathgeb

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rathgeb 2018-05-16 07:29:52 UTC
Created attachment 531682 [details, diff]
Patch that adds the missing include

The build fails because of using the incomplete type QButtonGroup:

In file included from /var/tmp/portage/app-admin/keepassxc-2.3.3/work/keepassxc-2.3.3/src/gui/entry/EditEntryWidget.cpp:19:0:
/var/tmp/portage/app-admin/keepassxc-2.3.3/work/keepassxc-2.3.3/src/gui/entry/EditEntryWidget.h:37:7: note: forward declaration of ‘class QButtonGroup’

build.log is attached

Qt version: 5.11.0_rc
Comment 1 Markus Rathgeb 2018-05-16 07:30:30 UTC
Created attachment 531684 [details]
build.log that shows the error
Comment 2 Markus Rathgeb 2018-05-16 08:10:11 UTC
Upstream PR:
Comment 3 Larry the Git Cow gentoo-dev 2018-05-16 09:09:36 UTC
The bug has been closed via the following commit(s):

commit eaae19a90dacd1d96a8c6c28de9b1968ee77cb88
Author:     Lars Wendler <>
AuthorDate: 2018-05-16 09:08:33 +0000
Commit:     Lars Wendler <>
CommitDate: 2018-05-16 09:09:31 +0000

    app-admin/keepassxc: Fixed compilation with qt-5.11
    Thanks to Markus Rathgeb for reporting the bug and providing the fix.
    Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch   | 10 ++++++++++
 app-admin/keepassxc/keepassxc-2.3.3.ebuild                     |  4 ++++
 2 files changed, 14 insertions(+)