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

Build on Ubuntu 22.04 ... unknown module: webkitwidgets #104

Open
JSahlberg opened this issue May 29, 2023 · 12 comments
Open

Build on Ubuntu 22.04 ... unknown module: webkitwidgets #104

JSahlberg opened this issue May 29, 2023 · 12 comments

Comments

@JSahlberg
Copy link
Contributor

Guess this installation routine is quite old... updated last in 2016.
As far as I can research it seems lite qtwebkit is replaced with qtwebengine instead... I'm I right?
How ever... is there any new instructions how to build the client from Ubunu 22.04?

@kylemhall
Copy link
Contributor

@JSahlberg I think we are finally hitting a point of un-supportability for the qt 5.2 based build. qtwebengine requires non-free software to build.

I've been working on a qt6 port of the client. You can find it here: https://github.com/Libki/libki-client/tree/qt6

Would you be willing to build and test this version? It should build on the latest qt6. It needs a rebase against master but I'd like to confirm it works as-is before I do that.

@JSahlberg
Copy link
Contributor Author

Thanks Kyle!

But... I not well experienced with QT creator... I don't even get the kits to be imported correctly on my Ubuntu 23.04... >_<

@kylemhall
Copy link
Contributor

unfortunately I haven't built the client on Linux in many years so my experience won't be very useful.

It looks like qt6-base-dev is the meta-package with everything you'd need ( sans Creator ), but you might want to start with the Qt Online Installer: https://www.qt.io/download-qt-installer-oss?utm_referrer=https%3A%2F%2Fwww.qt.io%2F

@loidor
Copy link
Contributor

loidor commented May 31, 2023

@JSahlberg I built it not too long ago for linux mint 21 (i.e. 22.04), but can't for my life remember how I got past the webkit issue. I remember I had it, but that's it. I can send you the built binary if you want to?

@kylemhall I don't have access to a linux machine right now, but can make a qt6 test build tomorrow.

@JSahlberg
Copy link
Contributor Author

Yes, please! Would be awesome :D

@rootchick
Copy link

Any update on the qt6 build process? I need to build the client for Ubuntu 24.04.

@kylemhall
Copy link
Contributor

@rootchick can you try the qt6 branch? https://github.com/Libki/libki-client/tree/qt6

If you have success with it we can try rebasing it the latest master!

@rootchick
Copy link

rootchick commented Jun 17, 2024 via email

@rootchick
Copy link

An update, I ran into a snag. My process:

(based on the client installation instructions here:
https://github.com/Libki/libki-client/wiki/libki-client-installation)

Installed these packages with apt:
git build-essential qtcreator qt6-base-dev
(attempting to add the ppa:ubuntu-sdk-team/ppa gives an error about there being no build file for Noble, I don't think that PPA has been updated in a very long time; the remaining packages in the apt install list don't seem to have qt6 equvalents, at least not exactly by name. I followed your advice of installing qt6-base-dev.)

Cloned the qt6 branch

Open QT Creator --> Open Project --> Choose Libki.pro file from repo directory --> Open

Tried Build --> Build Project "Libki". It says there is one issue, "Unknown module(s) in QT: qml", and it won't build. I'm assuming this means that something qml-related is missing?

@kylemhall
Copy link
Contributor

@rootchick try installing the package qml-qt6. I'm hoping that provides the missing lib 🤞

@rootchick
Copy link

Alas, it didn't. Some additional packages I've tried installing since, without any luck:

libqt6qmlcompiler6
libqt6qmlcore6
qml6-module-qtcore
qml6-module-qtqml
qml6-module-qtquick

@rootchick
Copy link

Hey @kylemhall I made some progress and got it to build! Also had to install the qt6-declarative-dev package. Figured that out via a Google rabbit hole. :D

Now to test it!

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

4 participants