Skip to content

Commit

Permalink
protonmail-bridge-gui: patch source to support Qt 6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-fahey committed Oct 21, 2024
1 parent ceef7db commit fb1cac2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/by-name/pr/protonmail-bridge-gui/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ stdenv.mkDerivation (finalAttrs: {
# Don't build `bridge-gui-tester`
sed -i "/add_subdirectory(bridge-gui-tester)/d" CMakeLists.txt
# Qt 6.8 support
# fix "ColorImage is not a type"
find . -name '*.qml' -type f -exec sed -i '
/import QtQuick.Controls/ {
n
/import QtQuick.Controls.impl/! {
i import QtQuick.Controls.impl
}
}' {} +
# fix "Cannot override FINAL property"
find . -name '*.qml' -type f -exec sed -i 's/\bpopupType\b/protonPopupType/g' {} +
'';

cmakeFlags = [
Expand Down

0 comments on commit fb1cac2

Please sign in to comment.