Bug 423312

Summary: Qt 5.15.0 compilation warnings trace
Product: [Applications] digikam Reporter: caulier.gilles
Component: Portability-CompilationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.1.0
Sentry Crash Report:
Attachments: Console traces with compilation warnings from Qt5.15.0

Description caulier.gilles 2020-06-21 09:42:10 UTC
Created attachment 129562 [details]
Console traces with compilation warnings from Qt5.15.0

This is a reminder report with a compilation trace done with digiKam master and Qt5.15.0.

There is a lots of warnings to fix in the future.

I use my digiKam dependencies installer from Github :

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

This one will install last stable release of main digiKam dependencies, outside the core OS. You can customize the place as /opt/qt5 for ex.

For the moment there is only one "preparehost" bash script from Magiea7 to install low level dependencies and remove all ones installed with "installdeps.sh". I will write one for Raspberry OS and CentoS8.

If Someone can write one for Ubuntu and Suse, it will be nice.

Q: when we must fix these warnings ? Later DK 7.0.0 final release ?

Note : All DK 7.0.0 bundles will use Qt 5.14.2.

Gilles Caulier
Comment 1 Maik Qualmann 2020-06-21 10:03:20 UTC
We have already fixed a few things. I think it makes no sense at the moment to replace QString::SkipEmptyParts with Qt::SkipEmptyParts with "ifdef" instructions. There are just too many. As far as I know, all functions deprecated in Qt-5.15 will no longer be available in Qt6. My suggestion is to set the Qt minimum version to Qt-5.15 after digiKam-7.0.0 release and fix everything.

The rolling release openSUSE Tumbleweed is already on Qt-5.15.
openSUSE Leap-15.2 in 11 days???

Maik
Comment 2 caulier.gilles 2020-07-31 12:52:07 UTC
Mostly all compilation warnings are fixed now. It still few that we are able to reproduce with the CI.

I close this file now

Gilles Caulier