-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guessed qt_prfxpath wrong (Qt 5 gets deployed instead of Qt 6) #268
Comments
This is the issue. It is wrong (assumig you want Qt6). We need to fx it. Volunteers? This whole guessing is not reliable. What would be a more robust way to know which Qt to use, and from where? |
That is a good question, I navigated the Qt folders a bit and it all looks like a bunch of mess. But it does work. How do the Qt .so libraries know where to look for plugins? They're not in the same parent folders as is the case on Windows.
So the question is, as far as I understand, how to locate the plugins. They're not in |
The string And sometimes, it's even outright wrong. |
Okay, judging from the |
Black magic! |
... but currently go-appimage (wrongly)
|
All I can tell you at the moment is that the bug is somewhere in go-appimage/src/appimagetool/appdirtool.go Lines 1471 to 1490 in 53294ec
|
In the meantime, try |
As for the code: you take the 1st result which happened to be qt5 (or it will always be qt5 based on alphabetical sorting), instead you should check whether it's Qt5 or 6 - you already know that Qt 6 is required. Upd: or you can remove the guessing altogether and require |
That worked! The correct paths are in the log now, and the AppImage size is reduced. However, it still doesn't run:
Any ideas? What can I do to troubleshoot this? |
Is that message coming from your program? |
You're right, sincere apologies. I was so puzzled by the message that I was certain it's from the AppImage runtime. |
The problem is well illustrated by this log. Qt 6 dependency is detected (correctly), but Qt 5 is deployed. Looks like it could be because Qt 5 was the first folder where it found
libqxcb.so
?..The text was updated successfully, but these errors were encountered: