Closed BryanRykowski closed 7 months ago
Those URL warnings are not a problem, most likely also the one about xapp-gtk3-module
.
It fails because of:
W@135ms: QQmlApplicationEngine failed to load component
W@135ms: qrc:/qml/main.qml: module "fusion" is not installed
Can you check whether you have qt6-qtdeclarative
installed? But I'm pretty sure it gets pulled in automatically through the dependencies.
Can you check whether you have qt6-qtdeclarative installed?
dnf info says I have qt6-qtdeclarative-6.6.2-3.fc39.x86_64
installed.
Update:
I manually selected the Fusion style by running mediawriter -style Fusion
and it launched without problems.
Is it possible that there is a typo in the app somewhere that is trying to use a lowercase style name? Or maybe when something else tries to automatically choose a style?
I did notice that when I try to choose a non-existent style like mediawriter -style foo
, it is ignored and the app launches fine with the warning:
W@66ms: QApplication: invalid style override 'foo' passed, ignoring it. Available styles: HighContrastInverse, HighContrast, Adwaita-HighContrastInverse, Adwaita-HighContrast, Adwaita-Dark, Adwaita, Windows, Fusion
However if I try to choose Adwaita (which it says is available) using mediawriter -style Adwaita
the app does not launch and I get:
W@122ms: qrc:/qml/main.qml: module "Adwaita" is not installed
EDIT:
I tried out the -style
override with another Qt app (wireshark), and observed different behavior. A fake theme like foo
results in a similar "invalid style/ignoring it" warning. Fusion
, fusion
, Adwaita
, and adwaita
all launch with the appropriate themes.
It turns out the following line in /etc/environment was the problem:
QT_STYLE_OVERRIDE=fusion
Removing that or setting it to Fusion
fixes the problem for me.
I'm hesitant to mark the issue as closed though, since other Qt apps don't seem to have a problem with this. I guess I'll leave it up to you.
This is a generic Qt issue, it's not like FMW is loading Qt styles on its own.
Running Fedora Media Writer 5.1.0-1.fc39.x86_64 causes nothing to happen. No window, no journalctl messages.
Running mediawriter from the command line produces this output:
Also a whole bunch of warnings (maybe 60?) about URLs and hashes changing like this:
EDIT:
I get pretty much the same output for the flatpak, and also 5.0.8, 5.0.9, and 5.1.1 built from source.
Flatpak version also has this output in addition to the previously mentioned ones: