Fix Qt typos (#315)

This commit is contained in:
Diego Viola 2023-08-27 10:15:36 -03:00 committed by GitHub
parent 691b8f92a4
commit 1882b1b172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@ Linux distros.
# Toolkit Backend Variables
- `GDK_BACKEND=wayland,x11` - GTK: Use wayland if available, fall back to x11 if not.
- `QT_QPA_PLATFORM="wayland;xcb"` - QT: Use wayland if available, fall back to x11 if not.
- `QT_QPA_PLATFORM="wayland;xcb"` - Qt: Use wayland if available, fall back to x11 if not.
- `SDL_VIDEODRIVER=wayland` - Run SDL2 applications on Wayland. Remove or set to `x11` if games that provide older versions of SDL cause
compatibility issues
- `CLUTTER_BACKEND=wayland` - Clutter package already has wayland enabled, this variable will force Clutter applications
@ -39,13 +39,13 @@ Linux distros.
XDG specific environment variables are often detected through portals and applications that may
set those for you, however it is not a bad idea to set them explicitly.
# QT Variables
# Qt Variables
- `QT_AUTO_SCREEN_SCALE_FACTOR=1` - [(From the QT documentation)](https://doc.qt.io/qt-5/highdpi.html)
- `QT_AUTO_SCREEN_SCALE_FACTOR=1` - [(From the Qt documentation)](https://doc.qt.io/qt-5/highdpi.html)
enables automatic scaling, based on the monitor's pixel density
- `QT_QPA_PLATFORM=wayland;xcb` - Tell QT applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable
- `QT_WAYLAND_DISABLE_WINDOWDECORATION=1` - Disables window decorations on QT applications
- `QT_QPA_PLATFORMTHEME=qt5ct` - Tells QT based applications to pick your theme from qt5ct, use with Kvantum.
- `QT_QPA_PLATFORM=wayland;xcb` - Tell Qt applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable
- `QT_WAYLAND_DISABLE_WINDOWDECORATION=1` - Disables window decorations on Qt applications
- `QT_QPA_PLATFORMTHEME=qt5ct` - Tells Qt based applications to pick your theme from qt5ct, use with Kvantum.
# NVIDIA Specific

View File

@ -8,7 +8,7 @@ Possible causes:
> Your themes are not set up properly, making apps crash.
Use something like `qt6ct` (QT) and `nwg-look` (GTK) (\*for GTK you can also
Use something like `qt6ct` (Qt) and `nwg-look` (GTK) (\*for GTK you can also
set up themes with envvars) to set up your themes.
> Your PC is very, _very_ old.
@ -115,7 +115,7 @@ Use a wayland-compatible locking utility using WLR protocols, e.g. `swaylock`.
If using flatpak, run `flatpak override --env=~/.themes:ro --env=~/.icons:ro --user` and put your themes in both `/usr/share/themes` and `~/.themes`, and put your icons and cursors in both `/usr/share/icons` and `~/.icons`.
For QT applications, Hyprland exports XCURSOR_SIZE as 24, which is the default.
For Qt applications, Hyprland exports XCURSOR_SIZE as 24, which is the default.
You can overwrite this by exporting XCURSOR_SIZE to a different value with `env`.
You can also try running `gsettings set org.gnome.desktop.interface cursor-theme 'theme-name'` or adding it after `exec-once=` in your config.

View File

@ -83,7 +83,7 @@ If your cursor does not appear, then see [this FAQ entry](../../FAQ#me-cursor-no
## Themes
Since this is not a full fledged Desktop Environment, you will need to use tools such as
`lxappearance` and `nwg-look` (recommended) for GTK, and `qt5ct` / `qt6ct` for their
respective QT versions. Some older applications may also require `qt4ct`.
respective Qt versions. Some older applications may also require `qt4ct`.
## Force apps to use Wayland

View File

@ -40,7 +40,7 @@ On some distributions you might have to use a different path `/usr/libexec/polki
On other distributions that use a more recent version, such as Gentoo, it may be necessary to use `exec-once=/usr/lib64/libexec/polkit-kde-authentication-agent-1` instead.
### QT Wayland Support
### Qt Wayland Support
_Starting method:_ none (just a library)
Install `qt5-wayland` and `qt6-wayland`.