-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google-chrome: Fix Qt support #375279
base: master
Are you sure you want to change the base?
google-chrome: Fix Qt support #375279
Conversation
I'm a complete beginner at this, but at least I can attest to the changes working on my machine, related to #228751 |
qtbase, | ||
wrapQtAppsHook, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qtbase, | |
wrapQtAppsHook, | |
qt6, |
@@ -162,6 +166,7 @@ let | |||
++ [ | |||
gtk3 | |||
gtk4 | |||
qtbase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qtbase | |
qt6.qtbase |
@@ -180,6 +185,8 @@ let | |||
nativeBuildInputs = [ | |||
makeWrapper | |||
patchelf | |||
# needed for QT support | |||
wrapQtAppsHook |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrapQtAppsHook | |
qt6.wrapQtAppsHook |
@@ -190,6 +197,8 @@ let | |||
gtk4 | |||
# needed for GSETTINGS_SCHEMAS_PATH | |||
gsettings-desktop-schemas | |||
# needed for QT support | |||
qtbase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qtbase | |
qt6.qtbase |
@@ -190,6 +197,8 @@ let | |||
gtk4 | |||
# needed for GSETTINGS_SCHEMAS_PATH | |||
gsettings-desktop-schemas | |||
# needed for QT support | |||
qtbase | |||
]; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dontWrapQtApps=true; |
add $qtWrapperArgs to makeWrapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makeWrapper in 260 line
Up until now, the AllowQt feature and the "Use Qt" button on Chrome's settings simply did nothing, now, they work. Related to: NixOS#228751
3561b7b
to
c5eec81
Compare
Basically, up until now Google Chrome simply wasn't capable of using the Qt engine support. Clicking on the "Use Qt" button on Appearance settings would do nothing.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.