Libki / libki-client

Libki Client
GNU General Public License v3.0
35 stars 16 forks source link

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

Open JSahlberg opened 1 year ago

JSahlberg commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

Yes, please! Would be awesome :D

rootchick commented 5 months ago

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

kylemhall commented 5 months ago

@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 commented 5 months ago

Will do, when I get back from vacation next Monday! Thanks!!

On Mon, Jun 17, 2024 at 6:54 AM Kyle M Hall @.***> wrote:

@rootchick https://github.com/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!

— Reply to this email directly, view it on GitHub https://github.com/Libki/libki-client/issues/104#issuecomment-2173073353, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANSKKGXFOZDVLDCNWFG5LLZH256FAVCNFSM6AAAAABJKXLR52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGA3TGMZVGM . You are receiving this because you were mentioned.Message ID: @.***>

rootchick commented 4 months ago

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 commented 4 months ago

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

rootchick commented 4 months ago

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 commented 4 months ago

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!