compile with only QT6

Gilles Caulier caulier.gilles at gmail.com
Thu May 16 08:17:35 BST 2024


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 à 02:53, <18662706251 at wo.cn> a écrit :
>
> 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.
>         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=1, but got an error saying missing Qt6WebEngineWidgets is missing, I will try to find the cause. I am using ubuntu 22.04.
>
> -----邮件原件-----
> 发件人: digikam-devel-bounces at kde.org <digikam-devel-bounces at kde.org> 代表 Gilles Caulier
> 发送时间: 2024年5月14日 14:30
> 收件人: digiKam developers room - digiKam - Manage your photographs as a professional with the power of open source <digikam-devel at kde.org>
> 主题: 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=heads#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 à 08:07, <18662706251 at wo.cn> a écrit :
> >
> > 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 ?
>
>
>
>


More information about the Digikam-devel mailing list