Why not use an environment variable instead of a command line argument?
Variable QT_QPA_PLATFORMTHEME works for me.

On HamPi, it exports QT_QPA_PLATFORMTHEME=cleanlooks

--
Dave Slotter, W3DJS <https://www.qrz.com/db/W3DJS>


On Wed, Jan 13, 2021 at 10:33 AM Bill Somerville <[email protected]>
wrote:

> Hi Jeff,
>
> OK, so we have to ask the package maintainers why they are forcing the Qt
> fusion style, we have never recommend it unless there is a specific problem
> with the native styling. Perhaps it was done to work around a problem where
> the distro folks has messed around so much with Qt that it no longer worked
> correctly for vanilla Qt GUI applications. If so then they should be
> reassessing that and removing the forced styling if it is no longer
> necessary.
>
> 73
> Bill
> G4WJS.
>
> On 13/01/2021 15:22, Jeff Stillinger via wsjt-devel wrote:
>
> The problem is you have Red Hat Enterprise, Oracle Enterprise, Fedora, and
> CentOS pulling from the same repository with that line as modified.  So...
> for example:  When a user has 2.2.2 installed from the repository, then
> builds the 2.3.0 RCx version from scratch.  They end up with two different
> looking windows, with objects doing "strange" looking things.  No doubt,
> here comes yet another "bug" report.  Not really a bug, but it looks like
> one. That is the basis of my suggestion for continuity.
>
> I have not noticed any performance implications, but then, my box is built
> for the Enterprise.
>
>
> On 1/13/21 8:48 AM, Bill Somerville wrote:
>
> On 13/01/2021 14:41, Jeff Stillinger via wsjt-devel wrote:
>
> File: wsjtx.desktop
>
> Change line 5 FROM:  Exec=wsjtx  TO: Exec=wsjtx --style="fusion"
>
> It took me a while to figure out why my local builds looked different from
> those I found in the pre-built repositories.  I was waiting to mention this
> at the next RC cycle to make it easy to correct.   Changing this line will
> bring continuity across all Linux platforms for look and feel.
>
>
> Hi Jeff,
>
> users are welcome to use the lowest common denominator Qt fusion style for
> Qt applications, but doing so bypasses the use of many built in graphics
> card drawn widgets. You should use the default style unless there is a good
> reason not to. The fusion style is meant to provide as similar look and
> feel across all platforms but using it has performance implications.
>
> 73
> Bill
> G4WJS.
>
>
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to