-
Notifications
You must be signed in to change notification settings - Fork 17
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
Linux: some image assets missing from appimage build #155
Comments
Should be a matter of copying the assets to the correct place... let me know if you'd like help from my side on this. |
How do you call these images in the code, in other words, where are they expected to be loaded from? |
They are loaded from QUrl addresses during runtime, like this: https://github.com/Blinkinlabs/PatternPaint/blob/master/PatternPaint/gui/scenetemplate.cpp https://github.com/Blinkinlabs/PatternPaint/blob/master/PatternPaint/gui/welcomescreen.cpp and they are listed in a qrc file: |
The The images are part of the AppImage, e.g., in
Looks like plugins/imageformats/* needs to be deployed but isn't. Opened an issue with linuxdeployqt: |
I expected them to be embedded in the executable, as that's how they are built on Windows and macOs. Following: I can see that they are pulled into a temp file 'qrc_images.cpp', at least during a normal qmake build on our internal CI server. It's a little interesting that the program icons and other resources should be using the same loading method, but seem to be present in the build. |
I can confirm that I have identified the root cause and fixed it in probonopd/linuxdeployqt@4951fd1 (an Here is a working AppImage: I will send a PR once some cleanup on my side is done. |
The Welcome Screen images are missing from the linux app image:
For reference, this is what it should look like:
The text was updated successfully, but these errors were encountered: