# kdesrc-build running: 'ninja' '-j' '8' # from directory: /opt/kde/build/krecorder [1/15] Generating ts... [2/15] Generating mo... [3/15] Automatic MOC for target krecorder [4/15] Generating qrc_resources.cpp Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [5/15] Building CXX object src/CMakeFiles/krecorder.dir/audioplayer.cpp.o [6/15] Building CXX object src/CMakeFiles/krecorder.dir/krecorder_autogen/mocs_compilation.cpp.o [7/15] Building CXX object src/CMakeFiles/krecorder.dir/audiorecorder.cpp.o [8/15] Building CXX object src/CMakeFiles/krecorder.dir/qrc_resources.cpp.o [9/15] Building CXX object src/CMakeFiles/krecorder.dir/recording.cpp.o [10/15] Building CXX object src/CMakeFiles/krecorder.dir/recordingmodel.cpp.o /opt/kde/src/krecorder/src/recordingmodel.cpp: In member function 'void RecordingModel::save()': /opt/kde/src/krecorder/src/recordingmodel.cpp:73:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations] 73 | const auto recordings = qAsConst(m_recordings); | ~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/qforeach.h:11, from /usr/include/qt6/QtCore/qglobal.h:57, from /usr/include/qt6/QtCore/qalgorithms.h:11, from /usr/include/qt6/QtCore/qhash.h:8, from /usr/include/qt6/QtCore/qabstractitemmodel.h:8, from /usr/include/qt6/QtCore/QAbstractListModel:1, from /opt/kde/src/krecorder/src/recordingmodel.h:10, from /opt/kde/src/krecorder/src/recordingmodel.cpp:8: /usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here 33 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; } | ^~~~~~~~ /opt/kde/src/krecorder/src/recordingmodel.cpp: In member function 'QString RecordingModel::nextDefaultRecordingName()': /opt/kde/src/krecorder/src/recordingmodel.cpp:118:36: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations] 118 | for (const auto &rec : qAsConst(m_recordings)) { | ~~~~~~~~^~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here 33 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; } | ^~~~~~~~ [11/15] Building CXX object src/CMakeFiles/krecorder.dir/utils.cpp.o [12/15] Building CXX object src/CMakeFiles/krecorder.dir/audioprober.cpp.o [13/15] Building CXX object src/CMakeFiles/krecorder.dir/settingsmodel.cpp.o [14/15] Building CXX object src/CMakeFiles/krecorder.dir/main.cpp.o [15/15] Linking CXX executable bin/krecorder