Re: compile with only QT6
Gilles Caulier <[email protected]> Tue, 14 May 2024 08:29:58 +0200
| Newsgroups | gmane.comp.kde.digikam.devel |
|---|---|
| Message-ID | <CAHFG6sGimuEuT+fbO2QLpLsJGqZVx-edmzMUT1z81W_5K_Sp2w@mail.gmail.com> |
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 t= o install QT5 dependency? > > Is there a compiling switch to enable QT6 only ?