Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 655844

Summary: app-admin/keepassxc-2.3.3 with Qt 5.11: error: invalid use of incomplete type ‘class QButtonGroup’
Product: Gentoo Linux Reporter: Markus Rathgeb <maggu2810>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) <polynomial-c>
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on: 664556    
Bug Blocks: 653646    
Attachments: Patch that adds the missing include
build.log that shows the error

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(+)