Rendering issues in some qt5 applications

I’m having rendering issues in some qt5 applications. Large parts of the window are not shown.

seafile-applet (from the seafile-client package):

seafile

seafile2

keepassxc:

I installed them via home-manager, listing the seafile-client and keepassxc packages in home.packages. The exact same configuraion does not cause any issues on another machine.

What could be the issue? What other information do you need to be able to identify the issue?

Many thanks in advance!

The issue was that I had QT_SCALE_FACTOR set, which I copied over:

  xsession = {
    enable = true;
    profileExtra = "export QT_SCALE_FACTOR=\"0.75\"";
  };

Removing the export of that variable in profileExtra fixed the problem.