https://bugs.kde.org/show_bug.cgi?id=500941
Bug ID: 500941 Summary: Fails to build after e77986c7 Classification: Frameworks and Libraries Product: frameworks-kimageformats Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: alex.me...@kde.org Reporter: daron...@gmail.com CC: aa...@kde.org, kdelibs-b...@kde.org Target Milestone: --- SUMMARY /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif.cpp: In member function ‘bool HEIFHandler:: write_helper(const QImage&)’: /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif.cpp:330:30: error: ‘QString::QString(const char*)’ is private within this context 330 | auto xmp = image.text(META_KEY_XMP_ADOBE); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9, from /usr/include/qt6/QtCore/qlist.h:10, from /usr/include/qt6/QtCore/qstringlist.h:5, from /usr/include/qt6/QtGui/qcolor.h:10, from /usr/include/qt6/QtGui/qimage.h:8, from /usr/include/qt6/QtGui/QImage:1, from /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif_p.h:14, from /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif.cpp:10: /usr/include/qt6/QtCore/qstring.h:1014:5: note: declared private here 1014 | QString(const char *ch); | ^~~~~~~ /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif.cpp: In member function ‘bool HEIFHandler:: ensureDecoder()’: /builddir/build/BUILD/kf6-kimageformats-6.12.0_10.gite77986c-build/kf6-kimageformats-6.12.0~10.gite77986c/src/imageformats/heif.cpp:954:44: error: ‘QString::QString(const char*)’ is private within this context 954 | m_current_image.setText(META_KEY_XMP_ADOBE, QString::fromUtf8(ba)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qstring.h:1014:5: note: declared private here 1014 | QString(const char *ch); | ^~~~~~~ STEPS TO REPRODUCE 1. Build OBSERVED RESULT Fails to build EXPECTED RESULT Builds fine SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.