Bug 423312 - Qt 5.15.0 compilation warnings trace
Summary: Qt 5.15.0 compilation warnings trace
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 7.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-21 09:42 UTC by caulier.gilles
Modified: 2022-01-23 04:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0
Sentry Crash Report:


Attachments
Console traces with compilation warnings from Qt5.15.0 (518.92 KB, text/plain)
2020-06-21 09:42 UTC, caulier.gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
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