回复: compile with only QT6

18662706251 at wo.cn 18662706251 at wo.cn
Wed May 15 01:53:09 BST 2024


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