Skip to content
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

Libraries not being copied on RaspberryPi4 #549

Closed
awccuite opened this issue Aug 23, 2022 · 3 comments
Closed

Libraries not being copied on RaspberryPi4 #549

awccuite opened this issue Aug 23, 2022 · 3 comments

Comments

@awccuite
Copy link

I have the tool built, and it seems to run and creates an appdir, but no libraries are copied into *.AppDir/usr/lib. I don't have an appimage of linuxdeployqt because I built it from source, so I am running this command
~/linuxdeployqt/bin/linuxdeployqt build/myapp.AppDir/usr/share/applications/myapp.desktop -executable=./build/myapp.AppDir/usr/bin/myapp -qmldir=../qrc2/qml/ -bundle-non-qt-libs -qmake=/usr/lib/aarch64-linux-gnu/ -unsupported-allow-new-glibc

This is the console output from my run
linuxdeployqt 8 (commit d6ac06c), build <local dev build> built on 2022-08-17 18:06:50 UTC WARNING: Not checking glibc on the host system. The resulting AppDir or AppImage may not run on older systems. This mode is unsupported and discouraged. For more information, please see https://github.com/probonopd/linuxdeployqt/issues/340 Desktop file as first argument: "build/myapp.AppDir/usr/share/applications/myapp.desktop" desktopExecEntry: "myapp" desktopIconEntry: "myapp" Found binary from desktop file: "/home/bantam/otherplan/bin/build/myapp.AppDir/usr/bin/myapp" FHS-like mode with PREFIX, fhsPrefix: "/home/bantam/otherplan/bin/build/myapp.AppDir/usr" app-binary: "/home/bantam/otherplan/bin/build/myapp.AppDir/usr/bin/myapp" appDirPath: "/home/bantam/otherplan/bin/build/myapp.AppDir" relativeBinPath: "usr/bin/myapp" Copied "build/myapp.AppDir/usr/share/applications/myapp.desktop" to "/home/bantam/otherplan/bin/build/myapp.AppDir/myapp.desktop" Found icons from desktop file: ("/home/bantam/otherplan/bin/build/myapp.AppDir/myapp.png", "/home/bantam/otherplan/bin/build/myapp.AppDir/usr/share/icons/hicolor/256x256/myapp.png")

Any suggestions about what I may be doing incorrectly?

@awccuite
Copy link
Author

Got it running with linuxdeploy and linuxdeploy-plugin-qt.

@probonopd
Copy link
Owner

Do not use -unsupported-... flags. They are not supported. They are bad.

@awccuite
Copy link
Author

awccuite commented Sep 6, 2022

Do not use -unsupported-... flags. They are not supported. They are bad.

Only reason I am using this command is that we have direct control over what machines will be running the appimage and do not want to support other configurations. Otherwise yes I agree :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants