Re: compile with only QT6

Gilles Caulier <[email protected]> Thu, 16 May 2024 09:17:35 +0200
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <CAHFG6sHB7m1s7QaQnK4dFuVVghaqmW3hh5YJ=TAKiUfDu5ap1Q@mail.gmail.com>
Hi,

Yes, i will fix the patch. I currently rebuild my Windows 10 VM for
the VCPKG environnement based on Qt 6.7.0. I will need to adjust this
patch for the KF5 compilation with MSVC.

Best

Gilles Caulier

Le mer. 15 mai 2024 =C3=A0 02:53, <[email protected]> a =C3=A9crit :
>
> Hi Gilles:
>         Thanks for your info.
>                I got this question because I installed QT6 using your git=
hub repo and got an error saying I am missing QT5.
>         The install QT6 repo is really helpful, but do we need this KF6 p=
atches? I create an issue on github showing there is an error when trying t=
o 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.
>
> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6-----
> =E5=8F=91=E4=BB=B6=E4=BA=BA: [email protected] <digikam-devel=
[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 y=
our photographs as a professional with the power of open source <digikam-de=
[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 b=
oth 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?re=
f_type=3Dheads#L18
>
> On my system (Kubuntu 22.04 / 23.10 / 24.04) I install the Qt and KDE ver=
sion 5 frameworks from the standard packages, and I compile myself Qt6, ins=
talled to /opt/qt6/. See my repository on github to compile Qt and KDE fram=
eworks 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 ?
>
>
>
>