-
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
Also use $QT_ROOT_DIR #302
base: master
Are you sure you want to change the base?
Conversation
Also use the environment variable `$QT_ROOT_DIR` #300 (comment)
Build for testing: |
@AlbrechtL does this improve the #300 situation for you when you, in other words, does it work without explicitly setting |
Yes, it is working! See https://github.com/AlbrechtL/welle.io/actions/runs/10688777042 Corresponding commit: AlbrechtL/welle.io@bb40872 |
Build for testing: |
I my case the new version 843 works like the previous 841 one. |
Let's see whether @kevle can confirm that this improves the issue he experienced, too - then I think it's ready for being merged. |
I just tested the build artifacts and it seems to abort correctly now:
In my own build I tried just skipping patching libQt6Core, and Qt manages to load the platform plugins just fine:
In my environment, Qt is being built by vcpkg. Judging from what I understand from the design of go-appimage, it probably is out of scope to support libraries being built this way, since it expects to use system libraries. If this is true, then aborting is probably the right thing to do to avoid scope creep. EDIT: I just dug a little deeper into this, and it appears that since Qt 5.14, Qt can be build as "relocatable". Those builds do not need to be patched. The windeployqt tool conveniently shares the build configuration of the Qt library files, so it has hardcoded knowledge about whether to patch the shared library files. |
@kevle could you send a pull request that only does the patching if |
@probonopd I'll give it a go! |
This comment was marked as outdated.
This comment was marked as outdated.
I lost track of this a bit, do you think it should still be merged or should we wait on #306 to be ready for primetime? Thanks. |
Also use the environment variable
$QT_ROOT_DIR
#300 (comment)