keepassxc: fix build with qt 5.11 (#42381)

authored by averelld and committed by xeji 32b2f28e 7d7b2de3

+20 -1
+5 -1
pkgs/applications/misc/keepassx/community.nix
··· 47 47 --replace "/usr/local/share/man" "../share/man" 48 48 ''; 49 49 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 50 - patches = [ ./darwin.patch ]; 50 + 51 + patches = [ 52 + ./darwin.patch 53 + ./qt511.patch 54 + ]; 51 55 52 56 cmakeFlags = [ 53 57 "-DKEEPASSXC_BUILD_TYPE=Release"
+15
pkgs/applications/misc/keepassx/qt511.patch
··· 1 + diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp 2 + index 6fd65c1a..e99275b0 100644 3 + --- a/src/gui/entry/EditEntryWidget.cpp 4 + +++ b/src/gui/entry/EditEntryWidget.cpp 5 + @@ -29,6 +29,7 @@ 6 + #include <QMenu> 7 + #include <QSortFilterProxyModel> 8 + #include <QTemporaryFile> 9 + +#include <QButtonGroup> 10 + #include <QMimeData> 11 + #include <QEvent> 12 + #include <QColorDialog> 13 + -- 14 + 2.17.1 15 +