I built a UI in QtCreator and I am trying to run it remotely. If I SSH into the machine with the application using -Y, the UI appears like it did in the designer window. If I use NoMachine with the NX protocol, the UI renders differently - all of the line edit widgets are cut short, fonts are different, etc. In my application, I am using set style according to the documentation found here: https://doc.qt.io/qt-5/qapplication.html#setStyle
Is there a graphics setting in NoMachine that needs to be adjusted? Or is there another cause, possibly related to the source code itself?