https://bugs.kde.org/show_bug.cgi?id=440313
Bug ID: 440313 Summary: digiKam 7.3.0 FTBFS with Qt 5.9.5 Product: digikam Version: 7.3.0 Platform: Ubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Database Assignee: digikam-bugs-n...@kde.org Reporter: savo...@savos.tech Target Milestone: --- Created attachment 140347 --> https://bugs.kde.org/attachment.cgi?id=140347&action=edit Patch to fix FTBFS SUMMARY digiKam 7.3.0 FTBFS with Qt 5.9.5 due introducing use of the QScopedPointer get function (added in Qt 5.11). STEPS TO REPRODUCE 1. Download digiKam 7.3.0 source and extract. 2. Attempt building source using pbuilder in a clean chroot with all appropriate build dependencies including Qt 5.9.5 (and KDE 5.44.0). 3. Build fails with errors as described below. OBSERVED RESULT The build fails with repeated errors relative a QScopedPointer function: "no member named 'get'" These errors are due use of the get function in three files (see below). EXPECTED RESULT That the build succeeds with Qt 5.9.5 as Qt 5.9 is listed as the minimum Qt build dependency for digiKam. SOFTWARE/OS VERSIONS Windows: n/a macOS: n/a Linux/KDE Plasma: Ubuntu 18.04 / KDE 5.44 (available in About System) KDE Plasma Version: 5.44 KDE Frameworks Version: 5.44 Qt Version: 5.9.5 ADDITIONAL INFORMATION With digiKam 7.3.0 three source files are now using the QScopedPointer get function found only in Qt 5.11 and newer. Those files are as follows: core/libs/database/dbjobs/dbjobsthread.cpp core/libs/database/haar/haariface_p.cpp core/libs/dngwriter/dngwriter_convert.cpp Yet Mainpage.dox still lists Qt 5.9 as a sufficient build dependency. Please change use of QScopedPointer get function to data function, which is identical according to official documentation, so that the build can still be successful without patching on Qt 5.9.5 (as found in Ubuntu 18.04 LTS Bionic, for example). The attached patch fixes the build for Qt 5.9.5 by making the suggested change. Official documentation of relevance is found here: https://doc.qt.io/archives/qt-5.11/qscopedpointer.html -- You are receiving this mail because: You are watching all bug changes.