-
Notifications
You must be signed in to change notification settings - Fork 430
QtWebEngineProcess error #34
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
Comments
tl;dr: We must implement https://doc-snapshots.qt.io/qt5-5.7/qtwebengine-deploying.html I think |
Hypothesis (to be verified): When |
Many thanks, your hypothesis was right, unfortunately there are other steps to build a valid image.
I can't even find which executable/library requests this: I applied |
Please do |
Anyway, this doesn't solve much, because the same fatal error occurs even if I package libsoftokn3.so.
The directory |
What happens if you delete |
|
I would assume NSS is pretty low level software that should be part of any target system and hence not bundled inside the AppImage; I might be wrong though. We need to figure out the entire dependency graph and decide what to bundle and what not to bundle. Does my Otter AppImage at https://bintray.com/probono/AppImages/Otter#files suffer from the same issues? It was not built using linuxdeployqt, so maybe it can help us figure out what should and should not be bundled by linuxdeployqt. |
Your image is compiled against Qt5WebKit, while mine uses QtWebEngine which is the preferred way to build Otter beta11. That shows your executable was compiled against an old release of Qt, since Anyway, your AppImage fails to start on my Debian testing amd64:
|
Yes, I my AppImage merely repackages the deb from the ppa. Already found out that bundling |
I can produce a working Otter AppDir using
However, when I use the |
Possibly fixed in 3415b30, please confirm |
Sorry for the delay. I just used the new version of linuxdeployqt, and the result was the same as described in the comment #34 (comment). This isn't surprising, since the the new linuxdeployqt copies the same files that I did manually. Now I'll have to wait for a fix of #35. Many thanks for your help. |
@mytskine can you advise me what to do? |
amit@amit-VB: Can anyone help me out? |
Where on your build system is libQt5WebEngine.so.5 located? |
[5397:5445:0410/103351.599157:ERROR:nss_util.cc(674)] Error initializing NSS with a persistent database (sql:/home/zhl/.pki/nssdb): libsoftokn3.so: 无法打开共享对象文件: 没有那个文件或目录 I wonder if this problem has been solved? |
Me too.Did you solve it? |
I applied linuxdeployqt to a custom build of otter-browser. The AppImage is sucessfully built, but when I run it on another sytem, it fails with the message "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled".
I first used
linuxdeployqt-1-x86_64.AppImage
, then I used the latest linuxdeployqt from git, with the latest AppImageAssistant. In this case, the image failed with the message "Could not find QtWebEngineProcess".Here are the libraries that are not packaged by the AppImage when I use
linuxdeployqt otter-browser -libpath=/home/vagrant/Qt/5.7/gcc_64/lib -verbose=2 -appimage -bundle-non-qt-libs
:Here are the libraries load from the AppImage:
As a side note, when there is no .desktop file, the command linuxdeployqt silently fails with an apparent success.
Another surprise was that the resulting file was named
..AppImage
which is a very uncommon and hidden name. I suspect the intended name was../AppImage
.The text was updated successfully, but these errors were encountered: