Your bug is the line engine.load('./UI/main.qml') (although the issue is 
masked by the fact that Qt doesn’t raise an error if it can’t load a file). 
Relative paths to locate application resources are not portable. I suggest 
you change that line to:
qml_path = './UI/main.qml' if not os.path.exists(qml_path): raise 
FileNotFoundError(qml_path) engine.load(qml_path) 

which will not fix your issue but it will give you a proper error message. 
Then read the docs 
<https://pyinstaller.org/en/v6.9.0/runtime-information.html#using-file> for 
what qml_path should really be set to.
​

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/ed65fe47-ecc3-4350-8f26-3b872f0e0c2an%40googlegroups.com.

Reply via email to