Skip to content

Since I include webEngine in my project I can't get a working appImage #311

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

Open
obiwankennedy opened this issue Aug 13, 2018 · 13 comments
Open

Comments

@obiwankennedy
Copy link

obiwankennedy commented Aug 13, 2018

I saw the bug #34 , but the solution is not clear. Does linuxdeployqt received the fix or do we have to copy stuff manually ?

I created my image on Ubuntu 16.04, I can start my AppImage on the computer which made it.
On my Ubuntu 18.04 is not working.

On another 16.04, I get Could not find QtWebEngineProcess

I use linuxdeployqt (download it 3 hours ago), and my application is compiled with Qt5.10.1.

Is there a way to produce AppImage with webengine ?

@TheAssassin
Copy link
Collaborator

At the moment, we're moving on to https://github.com/linuxdeploy/linuxdeploy https://github.com/linuxdeploy/linuxdeploy-plugin-qt. Please try those, and let us know if you have issues. AFAIK people have used linuxdeploy to build AppImages containing the Qt5 web engine.

CC @azubieta.

@probonopd
Copy link
Owner

@obiwankennedy as I wrote there,

Possibly fixed in 3415b30, please confirm

So you are saying it was not actually fixed. Hmm. Then you can try the manual workaround described in #34.

@TheAssassin well, "moving on" is perhaps a bit much said at this time. (But at some point in the future we might eventually want to.)

@TheAssassin
Copy link
Collaborator

@probonopd you should maybe just try out linuxdeploy sometime soon. You'll see that it's ready to replace linuxdeployqt.

@probonopd
Copy link
Owner

For me it is when I have something to copy and paste like
https://github.com/probonopd/linuxdeployqt#using-linuxdeployqt-with-travis-ci

So maybe all that is missing is some documentation (copy-and-paste example).

@TheAssassin
Copy link
Collaborator

My opinion: Copy-paste examples are what create issues like "I have no clue what I'm doing but it stopped working and I am too lazy to read the documentation".
linuxdeploy is a really simple, intuitive and iterative tool for creating AppImages.

But as not only you but also others request these things, I decided to write some example scripts (nothing like an "example Travis script", as Travis isn't used by everyone, but some shell scripts that should run everywhere, including the local computer, Travis and other public CI services). They will soon be available on https://docs.appimage.org.

@azubieta
Copy link

@obiwankennedy here you will find a working example of how to build an AppImage that makes use QWebEngine.

@TheAssassin
Copy link
Collaborator

@obiwankennedy
Copy link
Author

Hello,
Sorry for late answer.

I'm feeling some disturbance in the force, here. As we are here on linuxdeployqt github page. I would like to keep talking about it. Thanks for the other answers. I will try both solutions and I will make some feedbacks to both projects.

The #34 is a bit unclear to read.
I think the QtWebEngineProcess is there but it may not have all its dependencies or it may be in a wrong place.

May be the issue is on my side. I know that my qmake install rules are not really standard (or at least frequently tested).
I don't know. I have to try again and see. I will try to give you some detailed logs.

Btw, copy-and-paste examples are greats. To be honest, there are many tools to make packages. I selected the simplest in my point of view. As I'm used to work with official qt tools to deploy on windows and macos. I was glad to find a similar tool on linux. The parameters are the same (or try to be) so it sounds like a good plan.
I don't have the time to care understanding all the tools I use. I need to understand what they need to work and that's all.

It was easy to make my first AppImage. It worked like a charm for a while.
Then, I add webengine in my project and everything goes wrong.
I know that Qt integrated it as good as they could but it is not like the other qt module.
I guess there are plenty workarounds and dirt under that.
So I look for help with proper keyword and my friend google find the #34.
I was surprised to see it was opened in 2016. I saw there is a commit to fix the bug. I make sure to test with the latest version and it still does not worked. I open this bug as It may be a new one. The first answer send me to another project. I follow the instructions, I don't know it you are all in a team or something. So I tested the new "version", and find some problems too.
I'll be glad if my case helps to improve both projects (about documentation, features or bugs..).

@probonopd
Copy link
Owner

Btw, copy-and-paste examples are greats. To be honest, there are many tools to make packages. I selected the simplest in my point of view. As I'm used to work with official qt tools to deploy on windows and macos. I was glad to find a similar tool on linux. The parameters are the same (or try to be) so it sounds like a good plan.
I don't have the time to care understanding all the tools I use. I need to understand what they need to work and that's all.

I can feel with you! Life is too short to read and understand X,000 tools and options. Stuff should "just work" in the way one expects it to work :-)

Unfortunately I don't have time to work on linuxdeployqt much these days and the other team members rather wanted to rewrite it from scratch (I admit that the linuxdeployqt code is a bit messy since I had inherited it from macdeployqt).

@RolandHughes
Copy link

@obiwankennedy here you will find a working example of how to build an AppImage that makes use QWebEngine.

That actually doesn't work on Ubuntu 18.04 32-bit.

linuxdeploy-plugin-qt-x86_64.AppImage 100%[=================================================================================================>] 4.83M 8.84MB/s in 0.5s

2018-11-08 09:06:27 (8.84 MB/s) - ‘linuxdeploy-plugin-qt-x86_64.AppImage’ saved [5066120/5066120]

[code]
~/linuxdeploy-plugin-qt-examples-master/QtQuickControls2Application ~/linuxdeploy-plugin-qt-examples-master
~/linuxdeploy-plugin-qt-examples-master/QtQuickControls2Application/build ~/linuxdeploy-plugin-qt-examples-master/QtQuickControls2Application /linuxdeploy-plugin-qt-examples-master
./build_appimages.sh: line 41: cmake: command not found
roland@roland-Mate-18-04-32-bit-VirtualBox:
/linuxdeploy-plugin-qt-examples-master$
[/code]

@azubieta
Copy link

azubieta commented Nov 8, 2018

@RolandHughes mind to open an issue at https://github.com/linuxdeploy/linuxdeploy-plugin-qt. Please provide sources or download link of the AppImage for inspection if possible.

@TheAssassin
Copy link
Collaborator

@RolandHughes this is the wrong project. You should report it in the right issue tracker, otherwise it will get lost. See @azubieta's comment for more information.

@RolandHughes
Copy link

RolandHughes commented Nov 8, 2018 via email

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

5 participants