probonopd / linuxdeployqt

Makes Linux applications self-contained by copying in the libraries and plugins that the application uses, and optionally generates an AppImage. Can be used for Qt and other applications
Other
2.22k stars 414 forks source link

QtWebEngineProcess without RPATH #575

Open darealshinji opened 1 year ago

darealshinji commented 1 year ago

When I bundle an application that uses QtWebEngineProcess launching the webengine inside the app fails:

$ ./AppRun 
/home/djcj/Downloads/notepadqq/appdir/usr/libexec/QtWebEngineProcess: error while loading shared libraries: libQt5WebEngineCore.so.5: cannot open shared object file: No such file or directory

I need to set the runpath manually to make it work: patchelf --set-rpath '$ORIGIN/../lib' usr/libexec/QtWebEngineProcess