回复: compile with only QT6

<[email protected]> Wed, 15 May 2024 08:53:09 +0800
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <[email protected]>
Hi Gilles:
	Thanks for your info.
               I got this question because I installed QT6 using your =
github repo and got an error saying I am missing QT5.=20
	The install QT6 repo is really helpful, but do we need this KF6 =
patches? I create an issue on github showing there is an error when =
trying to install, maybe you can take a look.
	I try to compile with BUILD_WITH_QT6=3D1, but got an error saying =
missing Qt6WebEngineWidgets is missing, I will try to find the cause. I =
am using ubuntu 22.04.=20

-----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6-----
=E5=8F=91=E4=BB=B6=E4=BA=BA: [email protected] =
<[email protected]> =E4=BB=A3=E8=A1=A8 Gilles Caulier
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B45=E6=9C=8814=E6=97=A5 =
14:30
=E6=94=B6=E4=BB=B6=E4=BA=BA: digiKam developers room - digiKam - Manage =
your photographs as a professional with the power of open source =
<[email protected]>
=E4=B8=BB=E9=A2=98: Re: compile with only QT6

Hi,

Qt6 and Qt5 code cannot be used at the same time.

The Qt5 API can be installed in parallel tha Qt6. Here I do it to check =
both implementations in separate build directory.

There is a switch in the bootstrap.linux shell script on the root dir of =
the project to use Qt6 instead Qt5 :

 =
https://invent.kde.org/graphics/digikam/-/blob/master/bootstrap.linux?ref=
_type=3Dheads#L18

On my system (Kubuntu 22.04 / 23.10 / 24.04) I install the Qt and KDE =
version 5 frameworks from the standard packages, and I compile myself =
Qt6, installed to /opt/qt6/. See my repository on github to compile Qt =
and KDE frameworks version 6 :

https://github.com/cgilles/digikam-install-deps

Best

Gilles Caulier

Le mar. 14 mai 2024 =C3=A0 08:07, <[email protected]> a =C3=A9crit :
>
> Hi all:
>
> Since digicam has beed ported to QT6,  to compile now , do I still =
need to install QT5 dependency?
>
> Is there a compiling switch to enable QT6 only ?