Scaling KDE apps on Gnome Wayland

When using Gnome on Linux with Wayland in combination with font scaling using Gnome Tweaks, KDE apps are not scaled accordingly.
One solution is to set an environment variable in ~/.config/environment.d/kdeapps.conf containing the scale factor for KDE apps like this:

QT_SCALE_FACTOR=1.3

Reboot, and after that the KDE apps are scaled accordingly.

Links