CMake Warning:
Manually-specified variables were not used by the project:
BUILD_UNMAINTAINED
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
PYTHON_EXECUTABLE
I/O warning : failed to load external entity "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml"
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
I/O warning : failed to load external entity "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml"
I/O warning : failed to load external entity "/usr/share/kf6/kdoctools/customization/xsl/pt-BR.xml"
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
No "pt_br" localization of "footer-doc-comment" exists; using "en".
No "pt_br" localization of "footer-doc-feedback" exists; using "en".
No "pt_br" localization of "footer-doc-teamname" exists; using "en".
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/rng2cpp/rng2cpp.cpp: In function ‘QDomDocument loadDOM(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/rng2cpp/rng2cpp.cpp:625:24: warning: ‘bool QDomDocument::setContent(const QByteArray&, bool, QString*, int*, int*)’ is deprecated: Use the overload taking ParseOptions instead. [-Wdeprecated-declarations]
625 | if (!dom.setContent(data, true, &err)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/rng2cpp/rng2cpp.cpp:9:
/usr/include/qt6/QtXml/qdom.h:396:10: note: declared here
396 | bool setContent(const QByteArray &text, bool namespaceProcessing, QString *errorMsg = nullptr, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/Bitmap.cpp: In member function ‘QImage Libemf::Bitmap::image()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/Bitmap.cpp:152:35: warning: ‘QImage QImage::mirrored(bool, bool) const &’ is deprecated: Use flipped(Qt::Orientations) instead [-Wdeprecated-declarations]
152 | m_image = m_image.mirrored(false, true);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QImage:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/Bitmap.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/Bitmap.cpp:7:
/usr/include/qt6/QtGui/qimage.h:220:26: note: declared here
220 | [[nodiscard]] QImage mirrored(bool horizontally = false, bool vertically = true) const &
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/autocorrection/importkmailautocorrection.cpp: In member function ‘virtual bool ImportKMailAutocorrection::import(const QString&, QString&, ImportAbstractAutocorrection::LoadAttribute)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/autocorrection/importkmailautocorrection.cpp:17:74: warning: unused parameter ‘errorMessage’ [-Wunused-parameter]
17 | bool ImportKMailAutocorrection::import(const QString &fileName, QString &errorMessage, LoadAttribute loadAttribute)
| ~~~~~~~~~^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/autocorrection/importlibreofficeautocorrection.cpp: In member function ‘bool ImportLibreOfficeAutocorrection::loadDomElement(QDomDocument&, QFile*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/autocorrection/importlibreofficeautocorrection.cpp:146:24: warning: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. [-Wdeprecated-declarations]
146 | if (!doc.setContent(file, &errorMsg, &errorRow, &errorCol)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/autocorrection/importlibreofficeautocorrection.cpp:11:
/usr/include/qt6/QtXml/qdom.h:406:10: note: declared here
406 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/EmfOutputPainterStrategy.cpp: In member function ‘virtual void Libemf::OutputPainterStrategy::selectObject(quint32)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/EmfOutputPainterStrategy.cpp:741:25: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
741 | switch (obj.type()) {
| ~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/QVariant:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/EmfOutputPainterStrategy.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/vectorimage/libemf/EmfOutputPainterStrategy.cpp:8:
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/import/importlibreofficeautocorrection.cpp: In member function ‘bool ImportLibreOfficeAutocorrection::loadDomElement(QDomDocument&, QFile*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/import/importlibreofficeautocorrection.cpp:150:24: warning: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. [-Wdeprecated-declarations]
150 | if (!doc.setContent(file, &errorMsg, &errorRow, &errorCol)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/import/importlibreofficeautocorrection.cpp:12:
/usr/include/qt6/QtXml/qdom.h:406:10: note: declared here
406 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/import/importkmailautocorrection.cpp: In member function ‘virtual bool ImportKMailAutocorrection::import(const QString&, QString&, ImportAbstractAutocorrection::LoadAttribute)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/import/importkmailautocorrection.cpp:17:74: warning: unused parameter ‘errorMessage’ [-Wunused-parameter]
17 | bool ImportKMailAutocorrection::import(const QString &fileName, QString &errorMessage, LoadAttribute loadAttribute)
| ~~~~~~~~~^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/widgets/spellchecklineedit.cpp: In constructor ‘SpellCheckLineEdit::SpellCheckLineEdit(QWidget*, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textediting/autocorrection/libs/widgets/spellchecklineedit.cpp:13:72: warning: unused parameter ‘configFile’ [-Wunused-parameter]
13 | SpellCheckLineEdit::SpellCheckLineEdit(QWidget *parent, const QString &configFile)
| ~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/rtfreader.cpp:31:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.h:29:20: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
29 | QVariant::Type m_propertyType;
| ^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qlocale.h:7,
from /usr/include/qt6/QtCore/qcalendar.h:10,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/QDateTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/rtfreader.h:7,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/rtfreader.cpp:4:
/usr/include/qt6/QtCore/qvariant.h:142:70: note: declared here
142 | enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/recordsxml2cpp.cpp: In function ‘int main(int, char**)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/recordsxml2cpp.cpp:1015:24: warning: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. [-Wdeprecated-declarations]
1015 | if (!doc.setContent(&f, &errorMsg, &errorLine, &errorCol)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/recordsxml2cpp.cpp:9:
/usr/include/qt6/QtXml/qdom.h:406:10: note: declared here
406 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Localization.cpp: In member function ‘QDateTime Calligra::Sheets::Localization::readDateTime(const QString&, const QString&, bool*) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Localization.cpp:173:20: warning: ‘void QDateTime::setTimeSpec(Qt::TimeSpec)’ is deprecated: Use setTimeZone() instead [-Wdeprecated-declarations]
173 | res.setTimeSpec(Qt::UTC);
| ~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/QTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/CS_Time.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Localization.cpp:9:
/usr/include/qt6/QtCore/qdatetime.h:407:10: note: declared here
407 | void setTimeSpec(Qt::TimeSpec spec);
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Value.cpp: In member function ‘QDateTime Calligra::Sheets::Value::asDateTime(const Calligra::Sheets::CalculationSettings*) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Value.cpp:546:67: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
546 | QDateTime datetime(settings->referenceDate(), QTime(), Qt::UTC);
| ^
In file included from /usr/include/qt6/QtCore/QDateTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Value.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Value.cpp:6:
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp: In member function ‘virtual void RtfReader::TextDocumentRtfOutput::setFont(int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp:190:46: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
190 | m_textCharFormatStack.top().setFontFamily(fontEntry.fontName());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QTextImageFormat:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/AbstractRtfOutput.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.h:7,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/TextDocumentRtfOutput.cpp:4:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.cpp:4:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.h:29:20: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
29 | QVariant::Type m_propertyType;
| ^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QVariant:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.h:9:
/usr/include/qt6/QtCore/qvariant.h:142:70: note: declared here
142 | enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.cpp: In member function ‘virtual void RtfReader::UserPropsDestination::handlePlainText(const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/rtf/import/3rdparty/rtf-qt/src/UserPropsDestination.cpp:55:82: warning: ‘QDebug operator<<(QDebug, QVariant::Type)’ is deprecated [-Wdeprecated-declarations]
55 | qCDebug(lcRtf) << "unhandled value type in UserPropsDestination:" << m_propertyType;
| ^~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:814:22: note: declared here
814 | Q_CORE_EXPORT QDebug operator<<(QDebug, const QVariant::Type);
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/KoCompositeOpRegistry.cpp: In member function ‘KoCompositeOpRegistry::KoIDList KoCompositeOpRegistry::getCompositeOps(const KoID&, const KoColorSpace*) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/KoCompositeOpRegistry.cpp:148:41: warning: ‘QMultiMap::const_iterator operator+(QMultiMap::const_iterator, QMultiMap::const_iterator::difference_type)’ is deprecated: Use std::next; QMultiMap iterators are not random access [-Wdeprecated-declarations]
148 | KoIDMap::const_iterator end = beg + num;
| ^~~
In file included from /usr/include/qt6/QtCore/QMultiMap:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/KoCompositeOpRegistry.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/KoCompositeOpRegistry.cpp:7:
/usr/include/qt6/QtCore/qmap.h:1288:31: note: declared here
1288 | friend const_iterator operator+(const_iterator it, difference_type j) { return std::next(it, j); }
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.cpp: In member function ‘Calligra::Sheets::SheetBase* Calligra::Sheets::MapBase::filterSheetName(QString&) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.cpp:491:41: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
491 | while (!sheet && sheetName.count() > 2 && sheetName[0] == '\'' && sheetName[sheetName.count() - 1] == '\'') {
| ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/QList:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.cpp:10:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.cpp:491:100: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
491 | while (!sheet && sheetName.count() > 2 && sheetName[0] == '\'' && sheetName[sheetName.count() - 1] == '\'') {
| ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/MapBase.cpp:492:57: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
492 | sheetName = sheetName.mid(1, sheetName.count() - 2);
| ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/SheetBase.cpp:218:2: warning: #warning Implement this. [-Wcpp]
218 | #warning Implement this.
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/RecalcManager.cpp: In member function ‘void Calligra::Sheets::RecalcManager::dump() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/RecalcManager.cpp:262:30: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
262 | while (cellName.count() < 4)
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/QList:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Region.h:23,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/RecalcManager.h:9,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/RecalcManager.cpp:7:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/DependencyManager.cpp: In member function ‘void Calligra::Sheets::DependencyManager::Private::dump() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/DependencyManager.cpp:58:30: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
58 | while (cellName.count() < 4)
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/QList:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Region.h:23,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/DependencyManager.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/DependencyManager.cpp:10:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.cpp: In member function ‘bool KoColorSet::loadGpl()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.cpp:255:62: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
255 | QString s = QString::fromUtf8(m_data.data(), m_data.count());
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/qstringlist.h:5,
from /usr/include/qt6/QtGui/qcolor.h:10,
from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.cpp:7:
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.cpp: In member function ‘bool KoColorSet::loadPsp()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoColorSet.cpp:378:62: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
378 | QString s = QString::fromUtf8(m_data.data(), m_data.count());
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoStopGradient.cpp: In member function ‘void KoStopGradient::parseSvgColor(QColor&, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoStopGradient.cpp:608:28: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
608 | c.setNamedColor(rgbColor);
| ~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qbrush.h:11,
from /usr/include/qt6/QtGui/QGradient:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoStopGradient.h:9,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pigment/resources/KoStopGradient.cpp:9:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/functions/datetime.cpp: In function ‘Calligra::Sheets::Value func_unix2date(Calligra::Sheets::valVector, Calligra::Sheets::ValueCalc*, Calligra::Sheets::FuncExtra*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/functions/datetime.cpp:1117:25: warning: ‘void QDateTime::setTimeSpec(Qt::TimeSpec)’ is deprecated: Use setTimeZone() instead [-Wdeprecated-declarations]
1117 | datetime.setTimeSpec(Qt::UTC);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/qt6/QtCore/qcborvalue.h:10,
from /usr/include/qt6/QtCore/qjsonvalue.h:7,
from /usr/include/qt6/QtCore/qjsonobject.h:7,
from /usr/include/qt6/QtCore/QJsonObject:1,
from /usr/include/KF6/KCoreAddons/kpluginmetadata.h:16,
from /usr/include/KF6/KCoreAddons/kpluginfactory.h:15,
from /usr/include/KF6/KCoreAddons/KPluginFactory:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/FunctionModule.h:8,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/functions/DateTimeModule.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/functions/datetime.cpp:8:
/usr/include/qt6/QtCore/qdatetime.h:407:10: note: declared here
407 | void setTimeSpec(Qt::TimeSpec spec);
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeContainer.cpp: In member function ‘virtual void KoShapeContainer::update() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeContainer.cpp:232:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
232 | if (d->model)
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In function ‘QString {anonymous}::getText(const MSO::TextContainer*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:280:33: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
280 | ret = QString::fromUtf16(textChars.data(), textChars.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QString:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/DateTimeFormat.h:28,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:11:
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In member function ‘void PptToOdp::defineTextProperties(KoGenStyle&, const PptTextCFRun&, const MSO::TextCFException9*, const MSO::TextCFException10*, const MSO::TextSIException*, bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:1297:48: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
1297 | const QString name = QString::fromUtf16(font->lfFaceName.data(), font->lfFaceName.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In member function ‘void PptToOdp::defineListStyleTextProperties(KoXmlWriter&, const QString&, const PptTextPFRun&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:1767:44: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
1767 | QString family = QString::fromUtf16(font->lfFaceName.data(), font->lfFaceName.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In member function ‘QString PptToOdp::utf16ToString(QVector&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:2346:30: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
2346 | return QString::fromUtf16(data.data(), data.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In member function ‘void PptToOdp::processSlideForBody(unsigned int, Writer&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:2949:37: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
2949 | nameStr = QString::fromUtf16(slide->slideNameAtom->slideName.data(), slide->slideNameAtom->slideName.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp: In member function ‘void PptToOdp::processDeclaration(KoXmlWriter*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:3462:52: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
3462 | QString footerText = QString::fromUtf16(footerAtom->footer.data(), footerAtom->footer.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/stage/powerpoint/PptToOdp.cpp:3472:54: warning: ‘static QString QString::fromUtf16(const ushort*, qsizetype)’ is deprecated: Use char16_t* overload. [-Wdeprecated-declarations]
3472 | QString userDate = QString::fromUtf16(userDateAtom->userDate.data(), userDateAtom->userDate.size());
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qstring.h:760:20: note: declared here
760 | static QString fromUtf16(const ushort *str, qsizetype size = -1)
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidget.cpp: In member function ‘void KoCanvasControllerWidget::Private::emitPointerPositionChangedSignals(QEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidget.cpp:109:42: warning: ‘QPoint QTabletEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
109 | pointerPos = tabletEvent->pos();
| ~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTabletEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoInputDevice.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolManager_p.h:18,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidget_p.h:22,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidget.cpp:14:
/usr/include/qt6/QtGui/qevent.h:332:19: note: declared here
332 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp: In member function ‘void Viewport::handleDragEnterEvent(QDragEnterEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:143:71: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
143 | m_draggedShape->setAbsolutePosition(correctPosition(event->pos()));
| ~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QDragEnterEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:28:
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp: In member function ‘void Viewport::handleDropEvent(QDropEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:166:85: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
166 | m_parent->canvas()->toolProxy()->dropEvent(event, correctPosition(event->pos()));
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:174:48: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
174 | QPointF newPos = correctPosition(event->pos());
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp: In member function ‘void Viewport::handleDragMoveEvent(QDragMoveEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:206:89: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
206 | m_parent->canvas()->toolProxy()->dragMoveEvent(event, correctPosition(event->pos()));
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoCanvasControllerWidgetViewport_p.cpp:212:67: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
212 | m_draggedShape->setAbsolutePosition(correctPosition(event->pos()));
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/msword-odf/wv2/src/parserfactory.cpp: In static member function ‘static wvWare::SharedPtr wvWare::ParserFactory::createParser(const std::string&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/msword-odf/wv2/src/parserfactory.cpp:122:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
122 | fread(buffer, 1, 4, file);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp: In member function ‘int KoPointerEvent::x() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp:231:33: warning: ‘int QTabletEvent::x() const’ is deprecated: Use position().x() [-Wdeprecated-declarations]
231 | return d->tabletEvent->x();
| ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTouchEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp:10:
/usr/include/qt6/QtGui/qevent.h:341:16: note: declared here
341 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp:235:32: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
235 | return d->mouseEvent->x();
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp: In member function ‘int KoPointerEvent::y() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp:251:33: warning: ‘int QTabletEvent::y() const’ is deprecated: Use position().y() [-Wdeprecated-declarations]
251 | return d->tabletEvent->y();
| ~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:343:16: note: declared here
343 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.cpp:255:32: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
255 | return d->mouseEvent->y();
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp: In member function ‘void KoToolProxyPrivate::timeout()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:74:116: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
74 | QMouseEvent event(QEvent::MouseMove, widgetScrollPoint, Qt::LeftButton, Qt::LeftButton, Qt::KeyboardModifiers());
| ^
In file included from /usr/include/qt6/QtGui/QTabletEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoInputDevice.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:13:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qglobal.h:55,
from /usr/include/qt6/QtCore/qalgorithms.h:11,
from /usr/include/qt6/QtCore/qhash.h:8,
from /usr/include/qt6/QtCore/QHash:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:7:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp: In member function ‘void KoToolProxy::touchEvent(QTouchEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:166:59: warning: ‘const QList& QTouchEvent::touchPoints() const’ is deprecated: Use points() [-Wdeprecated-declarations]
166 | foreach (QTouchEvent::TouchPoint p, event->touchPoints()) {
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:941:31: note: declared here
941 | const QList &touchPoints() const { return points(); }
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:167:56: warning: ‘QPointF QEventPoint::screenPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
167 | QPointF docPoint = widgetToDocument(p.screenPos());
| ~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/qevent.h:20:
/usr/include/qt6/QtGui/qeventpoint.h:95:13: note: declared here
95 | QPointF screenPos() const { return globalPosition(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:175:68: warning: ‘QPointF QEventPoint::lastNormalizedPos() const’ is deprecated: Use globalLastPosition() [-Wdeprecated-declarations]
175 | touchPoint.lastPoint = widgetToDocument(p.lastNormalizedPos());
| ~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qeventpoint.h:109:13: note: declared here
109 | QPointF lastNormalizedPos() const;
| ^~~~~~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp: In member function ‘void KoToolProxy::tabletEvent(QTabletEvent*, const QPointF&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:231:84: warning: ‘qint64 QTabletEvent::uniqueId() const’ is deprecated: use pointingDevice().uniqueId() [-Wdeprecated-declarations]
231 | KoInputDevice id(event->device()->type(), event->pointerType(), event->uniqueId());
| ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:353:19: note: declared here
353 | inline qint64 uniqueId() const { return pointingDevice() ? pointingDevice()->uniqueId().numericId() : -1; }
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp: In member function ‘void KoToolProxy::mouseReleaseEvent(QMouseEvent*, const QPointF&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:376:138: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
376 | if (!event->isAccepted() && event->button() == Qt::LeftButton && event->modifiers() == 0 && qAbs(d->mouseDownPoint.x() - event->x()) < 5
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolProxy.cpp:377:53: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
377 | && qAbs(d->mouseDownPoint.y() - event->y()) < 5) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.cpp: In member function ‘void KoShapeLoadingContext::addShapeId(KoShape*, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.cpp:99:38: warning: ‘QMultiMap::iterator QMultiMap::insertMulti(const Key&, const T&) [with Key = KoShape*; T = KoLoadingShapeUpdater*]’ is deprecated: Use insert() instead [-Wdeprecated-declarations]
99 | d->updaterByShape.insertMulti(shape, it.value());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qdebug.h:41,
from /usr/include/qt6/QtCore/qvariant.h:12,
from /usr/include/qt6/QtCore/QVariant:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.cpp:9:
/usr/include/qt6/QtCore/qmap.h:1495:14: note: declared here
1495 | iterator insertMulti(const Key &key, const T &value)
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.cpp: In member function ‘void KoShapeLoadingContext::updateShape(const QString&, KoLoadingShapeUpdater*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeLoadingContext.cpp:122:31: warning: ‘QMultiMap::iterator QMultiMap::insertMulti(const Key&, const T&) [with Key = QString; T = KoLoadingShapeUpdater*]’ is deprecated: Use insert() instead [-Wdeprecated-declarations]
122 | d->updaterById.insertMulti(id, shapeUpdater);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qmap.h:1495:14: note: declared here
1495 | iterator insertMulti(const Key &key, const T &value)
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoHatchBackground.cpp: In member function ‘virtual bool KoHatchBackground::loadStyle(KoOdfLoadingContext&, const QSizeF&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoHatchBackground.cpp:195:43: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
195 | d->color.setNamedColor(fillColor);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoColorBackground_p.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoHatchBackground.cpp:9:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoHatchBackground.cpp:202:39: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
202 | d->lineColor.setNamedColor(draw->attributeNS(KoXmlNS::draw, "color", QString("#000000")));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp: In member function ‘void KoImageDataPrivate::copyToTemporary(QIODevice&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp:115:20: warning: ‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
115 | md5.addData(buf, bytes);
| ~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QCryptographicHash:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp:16:
/usr/include/qt6/QtCore/qcryptographichash.h:80:10: note: declared here
80 | void addData(const char *data, qsizetype length);
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp: In static member function ‘static qint64 KoImageDataPrivate::generateKey(const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp:149:40: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
149 | const int max = qMin(8, bytes.count());
| ~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/QByteArray:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoImageData_p.cpp:10:
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/svg/SvgStyleParser.cpp: In member function ‘bool SvgStyleParser::parseColor(QColor&, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/svg/SvgStyleParser.cpp:293:28: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
293 | color.setNamedColor(s.trimmed());
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeStroke.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/svg/SvgGraphicContext.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/svg/SvgStyleParser.cpp:14:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StatesModel.cpp:20:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StatesModel.h:37:17: warning: ‘virtual int StatesModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override]
37 | virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StatesModel.h:38:22: warning: ‘virtual QVariant StatesModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override]
38 | virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp: In member function ‘virtual bool VectorShape::loadOdfFrameElement(const KoXmlElement&, KoShapeLoadingContext&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp:341:25: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
341 | if (m_contents.count() < size) {
| ~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/QByteArray:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp:10:
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp:342:66: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
342 | debugVector << "Too few bytes read: " << m_contents.count() << " instead of " << size;
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp: In static member function ‘static bool VectorShape::isWmf(const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp:417:33: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
417 | const int size = bytes.count();
| ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp: In static member function ‘static bool VectorShape::isEmf(const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/vectorshape/VectorShape.cpp:447:33: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
447 | const int size = bytes.count();
| ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StateToolWidget.cpp:39:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StatesModel.h:37:17: warning: ‘virtual int StatesModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override]
37 | virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/plugins/stateshape/StatesModel.h:38:22: warning: ‘virtual QVariant StatesModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override]
38 | virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pictureshape/CropWidget.cpp: In member function ‘virtual void CropWidget::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pictureshape/CropWidget.cpp:107:65: warning: ‘QPointF QMouseEvent::localPos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
107 | m_selectionRect.beginDragging(toUniformCoord(event->localPos()));
| ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QResizeEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pictureshape/CropWidget.cpp:14:
/usr/include/qt6/QtGui/qevent.h:236:13: note: declared here
236 | QPointF localPos() const { return position(); }
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pictureshape/CropWidget.cpp: In member function ‘virtual void CropWidget::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pictureshape/CropWidget.cpp:113:49: warning: ‘QPointF QMouseEvent::localPos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
113 | QPointF pos = toUniformCoord(event->localPos());
| ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:236:13: note: declared here
236 | QPointF localPos() const { return position(); }
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoTextEditor_format.cpp: In member function ‘void KoTextEditor::setFontFamily(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoTextEditor_format.cpp:299:25: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
299 | format.setFontFamily(font);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt6/QtGui/qtextcursor.h:11,
from /usr/include/qt6/QtGui/QTextCursor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoSection.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoTextEditor.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoTextEditor_format.cpp:11:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/textlayout/KoTextLayoutArea.cpp: In member function ‘QVector KoTextLayoutArea::generateCharAreaInfos() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/textlayout/KoTextLayoutArea.cpp:264:19: warning: ‘xTrailing’ may be used uninitialized [-Wmaybe-uninitialized]
264 | qreal xTrailing;
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.cpp: In static member function ‘static int KoDialog::groupSpacingHint()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.cpp:448:37: warning: ‘static QFontMetrics QApplication::fontMetrics()’ is deprecated: Use QFontMetricsF(qApp->font()) instead. [-Wdeprecated-declarations]
448 | return QApplication::fontMetrics().lineSpacing();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtWidgets/QApplication:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.cpp:13:
/usr/include/qt6/QtWidgets/qapplication.h:70:25: note: declared here
70 | static QFontMetrics fontMetrics();
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.cpp: In function ‘QRect screenRect(QWidget*, int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.cpp:535:34: warning: unused parameter ‘widget’ [-Wunused-parameter]
535 | static QRect screenRect(QWidget *widget, int)
| ~~~~~~~~~^~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceItemChooserContextMenu.cpp: In member function ‘void KoLineEditAction::onTriggered(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceItemChooserContextMenu.cpp:59:31: warning: ‘T QAction::parentWidget() const [with T = QWidget*]’ is deprecated: Use parent() with qobject_cast() instead [-Wdeprecated-declarations]
59 | this->parentWidget()->close();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtWidgets/qwidget.h:12,
from /usr/include/qt6/QtWidgets/qframe.h:8,
from /usr/include/qt6/QtWidgets/qlabel.h:8,
from /usr/include/qt6/QtWidgets/QLabel:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceItemChooserContextMenu.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceItemChooserContextMenu.cpp:8:
/usr/include/qt6/QtGui/qaction.h:88:7: note: declared here
88 | T parentWidget() const
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp: In constructor ‘KoCsvImportDialog::KoCsvImportDialog(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:114:56: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
114 | connect(d->dialog->m_ignoreDuplicates, &QCheckBox::stateChanged, this, &KoCsvImportDialog::ignoreDuplicatesChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/libs/widgets/ui_KoCsvImportDialog.h:37,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:24:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp: In member function ‘void KoCsvImportDialog::Private::fillTable()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:371:86: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
371 | setText(row - startRow, column - startCol, field.left(field.count() - delimiterIndex));
| ~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/qstringlist.h:5,
from /usr/include/qt6/QtCore/QStringList:1,
from /usr/include/KF6/KConfigCore/kconfigbase.h:16,
from /usr/include/KF6/KConfigCore/kconfiggroup.h:14,
from /usr/include/KF6/KConfigCore/KConfigGroup:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.h:18,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:8:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:398:86: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
398 | setText(row - startRow, column - startCol, field.left(field.count() - delimiterIndex));
| ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoCsvImportDialog.cpp:433:86: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
433 | setText(row - startRow, column - startCol, field.left(field.count() - delimiterIndex));
| ~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoSliderCombo.cpp: In member function ‘virtual void KoSliderComboContainer::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoSliderCombo.cpp:292:123: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
292 | QStyle::SubControl sc = style()->hitTestComplexControl(QStyle::CC_ComboBox, &opt, m_parent->mapFromGlobal(e->globalPos()), m_parent);
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoSliderCombo_p.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoSliderCombo.cpp:7:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoColorPopupAction.cpp: In member function ‘void KoColorPopupAction::updateIcon()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoColorPopupAction.cpp:152:71: warning: ‘T QAction::parentWidget() const [with T = QWidget*]’ is deprecated: Use parent() with qobject_cast() instead [-Wdeprecated-declarations]
152 | QToolButton *toolButton = dynamic_cast(parentWidget());
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QAction:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoColorPopupAction.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoColorPopupAction.cpp:8:
/usr/include/qt6/QtGui/qaction.h:88:7: note: declared here
88 | T parentWidget() const
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp: In member function ‘virtual void KoDualColorButton::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp:245:21: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
245 | if (event->x() >= d->dragPosition.x() + delay || event->x() <= d->dragPosition.x() - delay || event->y() >= d->dragPosition.y() + delay
| ~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QDragEnterEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp:20:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp:245:66: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
245 | if (event->x() >= d->dragPosition.x() + delay || event->x() <= d->dragPosition.x() - delay || event->y() >= d->dragPosition.y() + delay
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp:245:111: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
245 | if (event->x() >= d->dragPosition.x() + delay || event->x() <= d->dragPosition.x() - delay || event->y() >= d->dragPosition.y() + delay
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDualColorButton.cpp:246:24: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
246 | || event->y() <= d->dragPosition.y() - delay) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp: In member function ‘virtual void KoTriangleColorSelector::mouseReleaseEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:350:31: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
350 | selectColorAt(event->x(), event->y());
| ~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:13:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:350:43: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
350 | selectColorAt(event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp: In member function ‘virtual void KoTriangleColorSelector::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:361:31: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
361 | selectColorAt(event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:361:43: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
361 | selectColorAt(event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp: In member function ‘virtual void KoTriangleColorSelector::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:370:31: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
370 | selectColorAt(event->x(), event->y(), false);
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoTriangleColorSelector.cpp:370:43: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
370 | selectColorAt(event->x(), event->y(), false);
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourcePopupAction.cpp: In member function ‘void KoResourcePopupAction::updateIcon()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourcePopupAction.cpp:159:71: warning: ‘T QAction::parentWidget() const [with T = QWidget*]’ is deprecated: Use parent() with qobject_cast() instead [-Wdeprecated-declarations]
159 | QToolButton *toolButton = dynamic_cast(parentWidget());
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QAction:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourcePopupAction.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourcePopupAction.cpp:8:
/usr/include/qt6/QtGui/qaction.h:88:7: note: declared here
88 | T parentWidget() const
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoFillConfigWidget.cpp: In constructor ‘KoFillConfigWidget::KoFillConfigWidget(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoFillConfigWidget.cpp:145:54: warning: ‘QBitmap::QBitmap(const QPixmap&)’ is deprecated: Use fromPixmap instead. [-Wdeprecated-declarations]
145 | noFillButtonIcon.setMask(QBitmap(noFillButtonIcon));
| ^
In file included from /usr/include/qt6/QtGui/qcursor.h:10,
from /usr/include/qt6/QtWidgets/qwidget.h:22,
from /usr/include/qt6/QtWidgets/QWidget:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoFillConfigWidget.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoFillConfigWidget.cpp:8:
/usr/include/qt6/QtGui/qbitmap.h:20:69: note: declared here
20 | QT_DEPRECATED_VERSION_X_6_0("Use fromPixmap instead.") explicit QBitmap(const QPixmap &);
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/FixedDateFormat.cpp: In constructor ‘FixedDateFormat::FixedDateFormat(DateVariable*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/FixedDateFormat.cpp:68:40: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
68 | connect(widget.custom, &QCheckBox::stateChanged, this, &FixedDateFormat::customClicked);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/variables/ui_FixedDateFormat.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/FixedDateFormat.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/FixedDateFormat.cpp:6:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceSelector.cpp: In member function ‘virtual void KoResourceSelector::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceSelector.cpp:107:117: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
107 | QStyle::SubControl sc = style()->hitTestComplexControl(QStyle::CC_ComboBox, &opt, mapFromGlobal(event->globalPos()), this);
| ~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoResourceSelector.cpp:14:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/ChapterVariable.cpp: In member function ‘virtual void ChapterVariable::resize(const QTextDocument*, QTextInlineObject&, int, const QTextCharFormat&, QPaintDevice*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/ChapterVariable.cpp:72:48: warning: ‘QTextFrame::iterator KoTextLayoutArea::startTextFrameIterator() const’ is deprecated [-Wdeprecated-declarations]
72 | startIt = a->startTextFrameIterator();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/textlayout/KoTextLayoutRootArea.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/ChapterVariable.cpp:18:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/textlayout/KoTextLayoutArea.h:58:44: note: declared here
58 | Q_DECL_DEPRECATED QTextFrame::iterator startTextFrameIterator() const;
| ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/variables/ChapterVariable.cpp:73:44: warning: ‘QTextFrame::iterator KoTextLayoutArea::endTextFrameIterator() const’ is deprecated [-Wdeprecated-declarations]
73 | endIt = a->endTextFrameIterator();
| ~~~~~~~~~~~~~~~~~~~~~~~^~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/textlayout/KoTextLayoutArea.h:59:44: note: declared here
59 | Q_DECL_DEPRECATED QTextFrame::iterator endTextFrameIterator() const;
| ^~~~~~~~~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoRuler.cpp: In member function ‘virtual void KoRuler::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoRuler.cpp:978:51: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
978 | QMenu::exec(d->popupActions, ev->globalPos());
| ~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTabletEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoInputDevice.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolManager.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoRuler.cpp:15:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoItemToolTip.cpp: In member function ‘void KoItemToolTip::showTip(QWidget*, const QPoint&, const QRect&, const QStyleOptionViewItem&, const QModelIndex&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoItemToolTip.cpp:33:112: warning: unused parameter ‘option’ [-Wunused-parameter]
33 | void KoItemToolTip::showTip(QWidget *widget, const QPoint &pos, const QRect &rect, const QStyleOptionViewItem &option, const QModelIndex &index)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoToolBox.cpp: In constructor ‘KoToolBox::KoToolBox()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoToolBox.cpp:82:15: warning: unused variable ‘primaryScreen’ [-Wunused-variable]
82 | const int primaryScreen = 0; // In QT, primary screen should always be the first index of QGuiApplication::screens()
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoCreatePathTool.cpp: In member function ‘virtual QList > KoCreatePathTool::createOptionWidgets()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoCreatePathTool.cpp:469:55: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
469 | connect(angleSnap, QOverload::of(&QCheckBox::stateChanged), this, [this](int v) {
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoCreatePathTool.cpp:22:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoPencilTool.cpp: In member function ‘virtual QList > KoPencilTool::createOptionWidgets()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoPencilTool.cpp:327:38: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
327 | connect(optimizeRaw, &QCheckBox::stateChanged, this, &KoPencilTool::setOptimize);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoPencilTool.cpp:28:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/basicflakes/tools/KoPencilTool.cpp:328:40: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
328 | connect(optimizeCurve, &QCheckBox::stateChanged, this, &KoPencilTool::setOptimize);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.cpp: In member function ‘void ArtisticTextTool::changeFontProperty(FontProperty, const QVariant&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.cpp:833:96: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
833 | const int changeCount = qMin(selectedCharCount - collectedCharCount, range.text().count() - index.second);
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qfloat16.h:10,
from /usr/include/qt6/QtCore/qendian.h:12,
from /usr/include/qt6/QtGui/qfont.h:8,
from /usr/include/qt6/QtGui/QFont:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextRange.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextShape.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.cpp:8:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.cpp: In member function ‘void ArtisticTextTool::selectAll()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextTool.cpp:920:68: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
920 | m_selection.selectText(0, m_currentShape->plainText().count());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextToolSelection.cpp: In member function ‘void ArtisticTextToolSelection::selectText(int, int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextToolSelection.cpp:55:60: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
55 | const int textCount = m_currentShape->plainText().count();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qobject.h:11,
from /usr/include/qt6/QtCore/QObject:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoToolSelection.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextToolSelection.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/artistictextshape/ArtisticTextToolSelection.cpp:7:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/musicshape/Engraver.cpp: In member function ‘void Engraver::engraveBar(MusicCore::Bar*, qreal)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/musicshape/Engraver.cpp:310:112: warning: arithmetic between floating-point type ‘qreal’ {aka ‘double’} and enumeration type ‘MusicCore::NoteLength’ is deprecated [-Wdeprecated-enum-float-conversion]
310 | qreal baseFactor = bar->sizeFactor() * sizeFactor - log2((qreal)qMin(shortestNoteLength, (int)Note8Length) / WholeLength);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/musicshape/Engraver.cpp:30:22: note: in definition of macro ‘log2’
30 | #define log2(x) (log(x) / M_LN2)
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/musicshape/Engraver.cpp:319:46: warning: arithmetic between floating-point type ‘qreal’ {aka ‘double’} and enumeration type ‘MusicCore::NoteLength’ is deprecated [-Wdeprecated-enum-float-conversion]
319 | qreal duration = (qreal)sim.duration / WholeLength;
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorspaces/gray_f32/GrayF32ColorSpace.cpp:7:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorspaces/gray_f32/GrayF32ColorSpace.h:13: warning: "TYPE_GRAYA_FLT" redefined
13 | #define TYPE_GRAYA_FLT (FLOAT_SH(1) | COLORSPACE_SH(PT_GRAY) | EXTRA_SH(1) | CHANNELS_SH(1) | BYTES_SH(4))
|
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorprofiles/LcmsColorProfileContainer.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/LcmsColorSpace.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorspaces/gray_f32/GrayF32ColorSpace.h:9:
/usr/include/lcms2.h:927: note: this is the location of the previous definition
927 | #define TYPE_GRAYA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(4)|EXTRA_SH(1))
|
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ListLevelWidget.ui: Warning: Z-order assignment: 'verticalSpacer_4' is not a valid widget.
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.ui: Warning: The name 'distanceLabel' (QLabel) is already in use, defaulting to 'distanceLabel1'.
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManager.ui: Warning: The name 'sidebarLayout' (QHBoxLayout) is already in use, defaulting to 'sidebarLayout1'.
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManager.ui: Warning: The name 'sidebarLayout' (QVBoxLayout) is already in use, defaulting to 'sidebarLayout2'.
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManager.ui: Warning: The name 'sidebarLayout' (QVBoxLayout) is already in use, defaulting to 'sidebarLayout3'.
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/star/StarShapeConfigWidget.cpp: In constructor ‘StarShapeConfigWidget::StarShapeConfigWidget()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/star/StarShapeConfigWidget.cpp:18:40: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
18 | connect(widget.convex, &QCheckBox::stateChanged, this, &KoShapeConfigWidgetBase::propertyChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/pathshapes/ui_StarShapeConfigWidget.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/star/StarShapeConfigWidget.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/star/StarShapeConfigWidget.cpp:7:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/defaultTools/connectionTool/ConnectionPointWidget.cpp: In constructor ‘ConnectionPointWidget::ConnectionPointWidget(ConnectionTool*, QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/defaultTools/connectionTool/ConnectionPointWidget.cpp:32:48: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
32 | connect(widget.toggleEditMode, &QCheckBox::stateChanged, tool, &ConnectionTool::toggleConnectionPointEditMode);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/defaultTools/ui_ConnectionPointWidget.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/defaultTools/connectionTool/ConnectionPointWidget.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/defaultTools/connectionTool/ConnectionPointWidget.cpp:8:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp:7:
In member function ‘bool FormulaToken::isOperator() const’,
inlined from ‘bool EnhancedPathFormula::_ZN19EnhancedPathFormula7compileERK5QListI12FormulaTokenE.part.0(const TokenList&)’ at /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp:565:42:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/enhancedpath/EnhancedPathFormula.h:72:16: warning: ‘a.FormulaToken::m_type’ may be used uninitialized [-Wmaybe-uninitialized]
72 | return m_type == TypeOperator;
| ^~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp: In member function ‘bool EnhancedPathFormula::_ZN19EnhancedPathFormula7compileERK5QListI12FormulaTokenE.part.0(const TokenList&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp:564:38: note: ‘a’ declared here
564 | FormulaToken a = syntaxStack.top(2);
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp: In member function ‘void VideoData::copyToTemporary(QIODevice&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp:315:20: warning: ‘void QCryptographicHash::addData(const char*, qsizetype)’ is deprecated: Use the QByteArrayView overload instead [-Wdeprecated-declarations]
315 | md5.addData(buf, bytes);
| ~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QCryptographicHash:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp:22:
/usr/include/qt6/QtCore/qcryptographichash.h:80:10: note: declared here
80 | void addData(const char *data, qsizetype length);
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp: In static member function ‘static qint64 VideoData::generateKey(const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp:329:40: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
329 | const int max = qMin(8, bytes.count());
| ~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qobject.h:11,
from /usr/include/qt6/QtCore/QObject:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeUserData.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/videoshape/VideoData.cpp:11:
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/LcmsEnginePlugin.cpp:32:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorspaces/gray_f32/GrayF32ColorSpace.h:13: warning: "TYPE_GRAYA_FLT" redefined
13 | #define TYPE_GRAYA_FLT (FLOAT_SH(1) | COLORSPACE_SH(PT_GRAY) | EXTRA_SH(1) | CHANNELS_SH(1) | BYTES_SH(4))
|
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/colorprofiles/LcmsColorProfileContainer.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/colorengines/lcms2/LcmsEnginePlugin.cpp:26:
/usr/include/lcms2.h:927: note: this is the location of the previous definition
927 | #define TYPE_GRAYA_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(4)|EXTRA_SH(1))
|
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/extras/properties/KoDocInfoPropsFactory.cpp: In function ‘QObject* createDocInfoPropsPage(QWidget*, QObject*, const KPluginMetaData&, const QVariantList&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/extras/properties/KoDocInfoPropsFactory.cpp:13:92: warning: unused parameter ‘data’ [-Wunused-parameter]
13 | static QObject *createDocInfoPropsPage(QWidget *w, QObject *parent, const KPluginMetaData &data, const QVariantList &args)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/shapefiltereffects/FloodEffect.cpp: In member function ‘virtual bool FloodEffect::load(const KoXmlElement&, const KoFilterEffectLoadingContext&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/shapefiltereffects/FloodEffect.cpp:69:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
69 | m_color.setNamedColor(colorStr);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/shapefiltereffects/FloodEffect.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/shapefiltereffects/FloodEffect.cpp:7:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.cpp: In constructor ‘ParagraphLayout::ParagraphLayout(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.cpp:23:46: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
23 | connect(widget.keepTogether, &QCheckBox::stateChanged, this, &ParagraphLayout::keepTogetherChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/textshape/ui_ParagraphLayout.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.cpp:8:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.cpp:24:44: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
24 | connect(widget.breakAfter, &QCheckBox::stateChanged, this, &ParagraphLayout::breakAfterChanged);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphLayout.cpp:25:45: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
25 | connect(widget.breakBefore, &QCheckBox::stateChanged, this, &ParagraphLayout::breakBeforeChanged);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphIndentSpacing.cpp: In constructor ‘ParagraphIndentSpacing::ParagraphIndentSpacing(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphIndentSpacing.cpp:43:48: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
43 | connect(widget.autoTextIndent, &QCheckBox::stateChanged, this, &ParagraphIndentSpacing::autoTextIndentChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/textshape/ui_ParagraphIndentSpacing.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphIndentSpacing.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphIndentSpacing.cpp:9:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphDropCaps.cpp: In constructor ‘ParagraphDropCaps::ParagraphDropCaps(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphDropCaps.cpp:26:43: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
26 | connect(widget.capsState, &QCheckBox::stateChanged, this, &ParagraphDropCaps::dropCapsStateChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/textshape/ui_ParagraphDropCaps.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphDropCaps.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/ParagraphDropCaps.cpp:9:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/main/KoDocumentSectionDelegate.cpp: In member function ‘virtual bool KoDocumentSectionDelegate::eventFilter(QObject*, QEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/main/KoDocumentSectionDelegate.cpp:217:95: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
217 | if (!QRect(d->edit->mapToGlobal(QPoint()), d->edit->size()).contains(me->globalPos()))
| ~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/main/KoDocumentSectionDelegate.cpp:15:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManagerDialog.cpp: In member function ‘virtual void StyleManagerDialog::reject()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManagerDialog.cpp:52:39: warning: ‘static int QMessageBox::warning(QWidget*, const QString&, const QString&, int, int, int)’ is deprecated: Use the overload taking StandardButtons instead. [-Wdeprecated-declarations]
52 | int ans = QMessageBox::warning(this,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
53 | i18n("Save Changes"),
| ~~~~~~~~~~~~~~~~~~~~~
54 | i18n("You have changes that are not applied. "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 | "What do you want to do with those changes?"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56 | QMessageBox::Apply,
| ~~~~~~~~~~~~~~~~~~~
57 | QMessageBox::Discard,
| ~~~~~~~~~~~~~~~~~~~~~
58 | QMessageBox::Cancel);
| ~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QMessageBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/StyleManagerDialog.cpp:14:
/usr/include/qt6/QtWidgets/qmessagebox.h:246:16: note: declared here
246 | static int warning(QWidget *parent, const QString &title,
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/FontDecorations.cpp: In constructor ‘FontDecorations::FontDecorations(bool, QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/FontDecorations.cpp:17:43: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
17 | connect(widget.hyphenate, &QCheckBox::stateChanged, this, &FontDecorations::hyphenateStateChanged);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/textshape/ui_FontDecorations.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/FontDecorations.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/FontDecorations.cpp:9:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/QuickTableButton.cpp: In member function ‘virtual void SizeChooserGrid::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/QuickTableButton.cpp:77:39: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
77 | m_column = qMin(qreal(7.0), (ev->x() - m_leftMargin) / m_columnWidth);
| ~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/QuickTableButton.cpp:17:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/QuickTableButton.cpp:78:36: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
78 | m_row = qMin(qreal(7.0), (ev->y() - m_topMargin) / m_rowHeight);
| ~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp: In member function ‘void TableOfContentsConfigure::setDisplay()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp:88:40: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
88 | connect(ui.useOutline, &QCheckBox::stateChanged, this, &TableOfContentsConfigure::useOutline);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/plugins/textshape/ui_TableOfContentsConfigure.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp:7:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp:89:39: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
89 | connect(ui.useStyles, &QCheckBox::stateChanged, this, &TableOfContentsConfigure::useIndexSourceStyles);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp: In member function ‘void TableOfContentsConfigure::cleanUp()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp:164:43: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
164 | disconnect(ui.useOutline, &QCheckBox::stateChanged, this, &TableOfContentsConfigure::useOutline);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/textshape/dialogs/TableOfContentsConfigure.cpp:165:42: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
165 | disconnect(ui.useStyles, &QCheckBox::stateChanged, this, &TableOfContentsConfigure::useIndexSourceStyles);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ValueFormatter.cpp: In member function ‘QString Calligra::Sheets::ValueFormatter::timeFormat(const QDateTime&, Calligra::Sheets::Format::Type, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ValueFormatter.cpp:504:68: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
504 | QDateTime ref(settings()->referenceDate(), QTime(), Qt::UTC);
| ^
In file included from /usr/include/qt6/QtCore/QDateTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ValueFormatter.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ValueFormatter.cpp:10:
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ValueFormatter.cpp:512:68: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
512 | QDateTime ref(settings()->referenceDate(), QTime(), Qt::UTC);
| ^
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/Layout.cpp:47:18: warning: ‘virtual void Layout::Private::shapeChanged(KoShape::ChangeType, KoShape*)’ can be marked override [-Wsuggest-override]
47 | virtual void shapeChanged(ChangeType type, KoShape *shape);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/Layout.cpp:51:18: warning: ‘virtual void Layout::Private::paint(QPainter&, const KoViewConverter&, KoShapePaintingContext&)’ can be marked override [-Wsuggest-override]
51 | virtual void paint(QPainter &painter, const KoViewConverter &converter, KoShapePaintingContext &)
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/Layout.cpp:57:18: warning: ‘virtual bool Layout::Private::loadOdf(const KoXmlElement&, KoShapeLoadingContext&)’ can be marked override [-Wsuggest-override]
57 | virtual bool loadOdf(const KoXmlElement &element, KoShapeLoadingContext &context)
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/Layout.cpp:64:18: warning: ‘virtual void Layout::Private::saveOdf(KoShapeSavingContext&) const’ can be marked override [-Wsuggest-override]
64 | virtual void saveOdf(KoShapeSavingContext &context) const
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvas.cpp: In member function ‘virtual void KoPACanvas::tabletEvent(QTabletEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvas.cpp:99:103: warning: ‘QPoint QTabletEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
99 | koPAView()->viewMode()->tabletEvent(event, viewConverter()->viewToDocument(widgetToView(event->pos() + documentOffset())));
| ~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvas.cpp:21:
/usr/include/qt6/QtGui/qevent.h:332:19: note: declared here
332 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvas.cpp: In member function ‘virtual void KoPACanvas::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvas.cpp:107:41: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
107 | showContextMenu(event->globalPos(), toolProxy()->popupActionList());
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp: In member function ‘virtual void KoPACanvasItem::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp:79:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
79 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
In file included from /usr/include/qt6/QtWidgets/qgraphicslayoutitem.h:10,
from /usr/include/qt6/QtWidgets/qgraphicswidget.h:12,
from /usr/include/qt6/QtWidgets/QGraphicsWidget:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp:8:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp: In member function ‘virtual void KoPACanvasItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp:93:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
93 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp: In member function ‘virtual void KoPACanvasItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp:99:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
99 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp: In member function ‘virtual void KoPACanvasItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/pageapp/KoPACanvasItem.cpp:105:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
105 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvas.cpp: In member function ‘virtual void KWCanvas::tabletEvent(QTabletEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvas.cpp:166:66: warning: ‘QPoint QTabletEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
166 | m_toolProxy->tabletEvent(e, m_viewMode->viewToDocument(e->pos() + m_documentOffset, m_viewConverter));
| ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTouchEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvas.cpp:23:
/usr/include/qt6/QtGui/qevent.h:332:19: note: declared here
332 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/Sheet.cpp: In function ‘QString Calligra::Sheets::createObjectName(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/Sheet.cpp:47:40: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
47 | for (int i = 0; i < sheetName.count(); ++i) {
| ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/QList:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoShapeBasedDocumentBase.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/Sheet.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/Sheet.cpp:11:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp: In member function ‘virtual void KWCanvasItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp:72:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
72 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
In file included from /usr/include/qt6/QtWidgets/qgraphicslayoutitem.h:10,
from /usr/include/qt6/QtWidgets/qgraphicswidget.h:12,
from /usr/include/qt6/QtWidgets/QGraphicsWidget:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp:11:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp: In member function ‘virtual void KWCanvasItem::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp:79:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
79 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp: In member function ‘virtual void KWCanvasItem::mouseReleaseEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp:91:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
91 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp: In member function ‘virtual void KWCanvasItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWCanvasItem.cpp:98:92: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
98 | QMouseEvent me(e->type(), e->pos().toPoint(), e->button(), e->buttons(), e->modifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp: In member function ‘void KoChart::Axis::setShowRuler(bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp:1004:30: warning: unused parameter ‘show’ [-Wunused-parameter]
1004 | void Axis::setShowRuler(bool show)
| ~~~~~^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp: In member function ‘void KoChart::Axis::setHoleSize(qreal)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp:2086:30: warning: unused parameter ‘value’ [-Wunused-parameter]
2086 | void Axis::setHoleSize(qreal value)
| ~~~~~~^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp: In member function ‘void KoChart::Axis::updateKChartAxisPosition()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp:2251:43: warning: ‘pos’ may be used uninitialized [-Wmaybe-uninitialized]
2251 | debugChartAxis << name() << d->kdAxis << pos << d->kdAxis->isAbscissa();
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/Axis.cpp:2165:37: note: ‘pos’ was declared here
2165 | KChart::CartesianAxis::Position pos;
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/StyleStorage.cpp: In member function ‘void Calligra::Sheets::StyleStorage::regionChanged(const QRect&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/StyleStorage.cpp:530:47: warning: unused parameter ‘rect’ [-Wunused-parameter]
530 | void StyleStorage::regionChanged(const QRect &rect)
| ~~~~~~~~~~~~~^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.cpp: In member function ‘QString KoChart::DataSet::Private::formatData(const KoChart::CellRegion&, int, int) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.cpp:461:15: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
461 | if (v.type() == QVariant::Double) {
| ~~~~~~^~
In file included from /usr/include/qt6/QtCore/qlocale.h:7,
from /usr/include/qt6/QtCore/qcalendar.h:10,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/qcborvalue.h:10,
from /usr/include/qt6/QtCore/qjsonvalue.h:7,
from /usr/include/qt6/QtCore/qjsonobject.h:7,
from /usr/include/qt6/QtCore/qplugin.h:14,
from /usr/include/qt6/QtCore/QtPlugin:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/interfaces/KoChartInterface.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.h:21,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/CellRegion.h:17,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.cpp:13:
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.cpp: In member function ‘QVariant KoChart::DataSet::xData(int, int) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/DataSet.cpp:1113:68: warning: ‘bool QVariant::convert(int)’ is deprecated [-Wdeprecated-declarations]
1113 | if (data.isValid() && data.canConvert() && data.convert(QVariant::Double))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:356:10: note: declared here
356 | bool convert(int targetTypeId)
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/CellRegion.cpp:300:16: warning: ‘QString columnName(uint)’ declared ‘static’ but never defined [-Wunused-function]
300 | static QString columnName(uint column);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWView.cpp: In member function ‘void KWView::viewMouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWView.cpp:746:13: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
746 | if (e->y() >= (m_gui->size().height() - statusBar()->size().height())) {
| ~~~~^~
In file included from /usr/include/qt6/QtGui/qtextlayout.h:7,
from /usr/include/qt6/QtGui/QTextInlineObject:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoInlineObject.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/KoInlineTextObjectManager.h:9,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWView.cpp:50:
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/KWView.cpp:756:13: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
756 | if (e->x() >= (m_gui->size().width() - vsb->size().width() - 10)) {
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/import/DockerManager_p.h:20,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/import/DockerManager.cpp:9:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/import/ToolDocker.h:28:18: warning: ‘virtual void ToolDocker::resizeEvent(QResizeEvent*)’ can be marked override [-Wsuggest-override]
28 | virtual void resizeEvent(QResizeEvent *event); ///< reimplemented from QWidget
| ^~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/import/ToolDocker.cpp:9:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/braindump/src/import/ToolDocker.h:28:18: warning: ‘virtual void ToolDocker::resizeEvent(QResizeEvent*)’ can be marked override [-Wsuggest-override]
28 | virtual void resizeEvent(QResizeEvent *event); ///< reimplemented from QWidget
| ^~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/../3rdparty/mdds/flat_segment_tree.hpp:39,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/RowFormatStorage.cpp:9:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/../3rdparty/mdds/global.hpp:87:25: warning: ‘virtual const char* mdds::general_error::what() const’ can be marked override [-Wsuggest-override]
87 | virtual const char* what() const throw()
| ^~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/../3rdparty/mdds/flat_segment_tree.hpp:39,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ColFormatStorage.cpp:12:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/../3rdparty/mdds/global.hpp:87:25: warning: ‘virtual const char* mdds::general_error::what() const’ can be marked override [-Wsuggest-override]
87 | virtual const char* what() const throw()
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.cpp: In function ‘void KoChart::saveOdfDataRow(KoXmlWriter&, QAbstractItemModel*, int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.cpp:1117:27: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
1117 | switch (value.type()) {
| ~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qlocale.h:7,
from /usr/include/qt6/QtCore/qcalendar.h:10,
from /usr/include/qt6/QtCore/qdatetime.h:8,
from /usr/include/qt6/QtCore/qcborvalue.h:10,
from /usr/include/qt6/QtCore/qjsonvalue.h:7,
from /usr/include/qt6/QtCore/qjsonobject.h:7,
from /usr/include/qt6/QtCore/qplugin.h:14,
from /usr/include/qt6/QtCore/QtPlugin:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/interfaces/KoChartInterface.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.h:21,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.cpp:12:
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/chartshape/ChartShape.cpp:1141:27: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
1141 | if (value.type() == QVariant::Double)
| ~~~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/formulashape/elements/BasicElement.cpp: In member function ‘void BasicElement::setAttribute(const QString&, const QVariant&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/formulashape/elements/BasicElement.cpp:156:44: warning: ‘bool QVariant::canConvert(int) const’ is deprecated [-Wdeprecated-declarations]
156 | if (name.isEmpty() || !value.canConvert(QVariant::String))
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qaction.h:13,
from /usr/include/qt6/QtGui/QAction:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/kundo2/kundo2stack.h:51,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/kundo2/kundo2command.h:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/formulashape/FormulaData.h:15,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/formulashape/FormulaCursor.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/plugins/formulashape/elements/BasicElement.cpp:14:
/usr/include/qt6/QtCore/qvariant.h:353:10: note: declared here
353 | bool canConvert(int targetTypeId) const
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp: In function ‘bool Calligra::Sheets::Odf::loadCell(Calligra::Sheets::Cell*, const KoXmlElement&, OdfLoadingContext&, const Calligra::Sheets::Styles&, const QString&, QList&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp:259:84: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
259 | const QDateTime ref(settings->referenceDate(), QTime(), Qt::UTC);
| ^
In file included from /usr/include/qt6/QtCore/QDateTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/main/KoDocument.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdf.h:25,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp:21:
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp:261:98: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
261 | const QDateTime dt(QDate(year, month, day), QTime(hours, minutes, 0), Qt::UTC);
| ^
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp: In function ‘void Calligra::Sheets::Odf::saveCellValue(Calligra::Sheets::Cell*, KoXmlWriter&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfCell.cpp:983:12: warning: enumeration value ‘fmt_DateTime’ not handled in switch [-Wswitch]
983 | switch (saveFormat) {
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/widgets/KoFindToolbar.cpp: In constructor ‘KoFindToolbar::KoFindToolbar(KoFindBase*, KActionCollection*, QWidget*, Qt::WindowFlags)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/widgets/KoFindToolbar.cpp:110:33: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
110 | if (option->value().type() == QVariant::Bool) {
| ~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/qaction.h:13,
from /usr/include/qt6/QtWidgets/qwidget.h:12,
from /usr/include/qt6/QtWidgets/QWidget:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/widgets/KoFindToolbar.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/widgets/KoFindToolbar.cpp:7:
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/widgets/KoFindToolbar.cpp:166:47: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
166 | replaceAction->setShortcut(Qt::CTRL + Qt::Key_H);
| ^~~~~
In file included from /usr/include/qt6/QtCore/qobjectdefs.h:12,
from /usr/include/qt6/QtGui/qwindowdefs.h:8,
from /usr/include/qt6/QtWidgets/qwidget.h:8:
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp: In function ‘QString Calligra::Sheets::Odf::loadRegion(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:126:32: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
126 | while (i < expression.count()) {
| ~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtCore/QList:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/engine/Region.h:23,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:21:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:145:45: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
145 | if (i + 2 < expression.count() && expression[i + 1] == '$' && expression[i + 2] != '.')
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:160:45: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
160 | if (i + 1 < expression.count() && expression[i + 1] == '\'')
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp: In function ‘QString Calligra::Sheets::Odf::saveRegion(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:183:32: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
183 | while (i < expression.count()) {
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:193:31: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
193 | if (temp.count() > 2 && (temp[0] != '\'' && temp[temp.count() - 1] != '\'')) {
| ~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:193:76: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
193 | if (temp.count() > 2 && (temp[0] != '\'' && temp[temp.count() - 1] != '\'')) {
| ~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/odf/SheetsOdfRegion.cpp:223:45: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
223 | if (i + 1 < expression.count() && expression[i + 1] == '\'')
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ksp/SheetsKspSheet.cpp: In function ‘QDomElement Calligra::Sheets::Ksp::saveSheet(Calligra::Sheets::Sheet*, QDomDocument&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ksp/SheetsKspSheet.cpp:328:39: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
328 | for (int i = 0; i < realName.count(); ++i) {
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtXml/qdom.h:11,
from /usr/include/qt6/QtXml/QDomElement:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ksp/SheetsKspPrivate.h:29,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/ksp/SheetsKspSheet.cpp:11:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/applixword/applixwordimport.cc: In member function ‘int APPLIXWORDImport::readHeader(QTextStream&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/applixword/applixwordimport.cc:757:30: warning: ‘static int QMessageBox::critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)’ is deprecated: Use the overload taking StandardButtons instead. [-Wdeprecated-declarations]
757 | QMessageBox::critical(nullptr, "Applixword header problem",
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
758 | QString("The Applixword header is not correct. "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
759 | "May be it is not an applixword file!
"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
760 | "This is the header line I did read:
%1").arg(mystr),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
761 | "Okay");
| ~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QMessageBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/applixword/applixwordimport.cc:11:
/usr/include/qt6/QtWidgets/qmessagebox.h:263:16: note: declared here
263 | static int critical(QWidget *parent, const QString &title,
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp: In constructor ‘StatisticsPreferencesPopup::StatisticsPreferencesPopup(QWidget*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:16:41: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
16 | connect(w->check_words, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::wordsDisplayChange);
| ^~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QCheckBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/build/words/part/ui_StatisticsPreferencesPopup.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:8:
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:17:45: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
17 | connect(w->check_sentences, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::sentencesDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:18:45: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
18 | connect(w->check_syllables, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::syllablesDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:19:41: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
19 | connect(w->check_lines, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::linesDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:20:45: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
20 | connect(w->check_charspace, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::charspaceDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:21:47: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
21 | connect(w->check_charnospace, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::charnospaceDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:22:40: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
22 | connect(w->check_east, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::eastDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/words/part/dockers/StatisticsPreferencesPopup.cpp:23:42: warning: ‘void QCheckBox::stateChanged(int)’ is deprecated: Use checkStateChanged() instead [-Wdeprecated-declarations]
23 | connect(w->check_flesch, &QCheckBox::stateChanged, this, &StatisticsPreferencesPopup::fleschDisplayChange);
| ^~~~~~~~~~~~
/usr/include/qt6/QtWidgets/qcheckbox.h:41:10: note: declared here
41 | void stateChanged(int);
| ^~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp: In member function ‘QList MSOOXML::Diagram::AbstractNode::peers() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:323:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
323 | if (m_parent)
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp: In member function ‘void MSOOXML::Diagram::LayoutNodeAtom::setAxis(MSOOXML::Diagram::Context*, const QList&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:1144:46: warning: ‘QMultiMap::iterator QMultiMap::insertMulti(const Key&, const T&) [with Key = const MSOOXML::Diagram::LayoutNodeAtom*; T = MSOOXML::Diagram::AbstractNode*]’ is deprecated: Use insert() instead [-Wdeprecated-declarations]
1144 | context->m_layoutPointMap.insertMulti(this, node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QMap:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:13:
/usr/include/qt6/QtCore/qmap.h:1495:14: note: declared here
1495 | iterator insertMulti(const Key &key, const T &value)
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:1145:46: warning: ‘QMultiMap::iterator QMultiMap::insertMulti(const Key&, const T&) [with Key = MSOOXML::Diagram::AbstractNode*; T = MSOOXML::Diagram::LayoutNodeAtom*]’ is deprecated: Use insert() instead [-Wdeprecated-declarations]
1145 | context->m_pointLayoutMap.insertMulti(node, this);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qmap.h:1495:14: note: declared here
1495 | iterator insertMulti(const Key &key, const T &value)
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp: In member function ‘void MSOOXML::Diagram::LayoutNodeAtom::setNeedsReinit(bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:1161:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
1161 | if (m_needsReinit) // if we need to be re-initialized then our children need to be too
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp: In member function ‘QVector > MSOOXML::Diagram::LayoutNodeAtom::descendantLayouts() const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:1288:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
1288 | if (LayoutNodeAtom *l = dynamic_cast(atom.data()))
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp: In member function ‘bool MSOOXML::Diagram::IfAtom::testAtom(MSOOXML::Diagram::Context*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.cpp:2383:51: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
2383 | debugMsooXml << "RULE21: " << m_axis.count() << " nodeId: " << node->m_modelId;
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qshareddata.h:10,
from /usr/include/qt6/QtCore/QExplicitlySharedDataPointer:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlDiagramReader_p.h:17:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/wiki/export/OdtReaderWikiBackend.cpp: In member function ‘virtual void OdtReaderWikiBackend::elementTextListItem(KoXmlStreamReader&, OdfReaderContext*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/wiki/export/OdtReaderWikiBackend.cpp:173:39: warning: ‘symbol’ may be used uninitialized [-Wmaybe-uninitialized]
173 | wikiContext->outStream << symbol;
| ^~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/wiki/export/OdtReaderWikiBackend.cpp:164:14: note: ‘symbol’ was declared here
164 | char symbol;
| ^~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.cpp: In member function ‘bool ExportEpub2::isEmf(QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.cpp:330:35: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
330 | const int size = content.count();
| ~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qobject.h:11,
from /usr/include/qt6/QtCore/qiodevice.h:10,
from /usr/include/qt6/QtCore/qfiledevice.h:7,
from /usr/include/qt6/QtCore/qfile.h:8,
from /usr/include/qt6/QtCore/QFile:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.cpp:10:
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.cpp: In member function ‘bool ExportEpub2::isWmf(QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/words/epub/exportepub2.cpp:356:35: warning: ‘qsizetype QByteArray::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
356 | const int size = content.count();
| ~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qbytearray.h:502:22: note: declared here
502 | inline qsizetype count() const noexcept { return size(); }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/applixspread/applixspreadimport.cc: In member function ‘int APPLIXSPREADImport::readHeader(QTextStream&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/applixspread/applixspreadimport.cc:1172:30: warning: ‘static int QMessageBox::critical(QWidget*, const QString&, const QString&, const QString&, const QString&, const QString&, int, int)’ is deprecated: Use the overload taking StandardButtons instead. [-Wdeprecated-declarations]
1172 | QMessageBox::critical(nullptr, "Applix spreadsheet header problem",
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1173 | QString("The Applix Spreadsheet header is not correct. "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1174 | "May be it is not an applix spreadsheet file!
"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1175 | "This is the header line I did read:
%1").arg(mystr),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1176 | "Okay");
| ~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QMessageBox:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/applixspread/applixspreadimport.cc:10:
/usr/include/qt6/QtWidgets/qmessagebox.h:263:16: note: declared here
263 | static int critical(QWidget *parent, const QString &title,
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/latexexportwidget.ui: Warning: The name 'groupBox' (QLabel) is already in use, defaulting to 'groupBox1'.
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/cell.h:28,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/cell.cc:22:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setBrushColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:209:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
209 | _brushColor.setNamedColor(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setPenColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:235:32: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
235 | _penColor.setNamedColor(pc);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/column.h:28,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/column.cc:22:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setBrushColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:209:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
209 | _brushColor.setNamedColor(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setPenColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:235:32: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
235 | _penColor.setNamedColor(pc);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.cc:22:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setBrushColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:209:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
209 | _brushColor.setNamedColor(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setPenColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:235:32: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
235 | _penColor.setNamedColor(pc);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/eps/PsCommentLexer.cpp: In member function ‘bool BoundingBoxExtractor::getRectangle(const char*, int&, int&, int&, int&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/eps/PsCommentLexer.cpp:347:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘qsizetype’ {aka ‘long long int’} [-Wformat=]
347 | qDebug("size is %d", values.size());
| ~^ ~~~~~~~~~~~~~
| | |
| int qsizetype {aka long long int}
| %lld
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp: In member function ‘virtual void SvgOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, const int*, bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp:489:18: warning: ignoring return value of ‘bool ImageStream::reset()’, declared with attribute ‘nodiscard’ [-Wunused-result]
489 | imgStr->reset();
| ~~~~~~~~~~~~~^~
In file included from /usr/include/poppler/Object.h:605,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp:7:
/usr/include/poppler/Stream.h:474:24: note: declared here
474 | [[nodiscard]] bool reset();
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parseArc()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:603:50: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
603 | arcObject->setForwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qobject.h:17,
from /usr/include/qt6/QtCore/qiodevice.h:10,
from /usr/include/qt6/QtCore/QIODevice:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:15:
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:611:51: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
611 | arcObject->setBackwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:635:26: warning: ‘T* QScopedPointer::take() [with T = XFigArcObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
635 | return arcObject.take();
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parseEllipse()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:677:30: warning: ‘T* QScopedPointer::take() [with T = XFigEllipseObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
677 | return ellipseObject.take();
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parsePolyline()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:743:59: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
743 | polylineObject->setForwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:755:60: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
755 | polylineObject->setBackwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:784:39: warning: ‘T* QScopedPointer::take() [with T = XFigAbstractPolylineObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
784 | return abstractPolylineObject.take();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parseSpline()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:827:59: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
827 | polylineObject->setForwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:839:60: warning: ‘T* QScopedPointer::take() [with T = XFigArrowHead; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
839 | polylineObject->setBackwardArrow(arrowHead.take());
| ~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:866:39: warning: ‘T* QScopedPointer::take() [with T = XFigAbstractPolylineObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
866 | return abstractPolylineObject.take();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parseText()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:971:27: warning: ‘T* QScopedPointer::take() [with T = XFigTextObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
971 | return textObject.take();
| ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp: In member function ‘XFigAbstractObject* XFigParser::parseCompoundObject()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/xfig/XFigParser.cpp:1021:31: warning: ‘T* QScopedPointer::take() [with T = XFigCompoundObject; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
1021 | return compoundObject.take();
| ~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/row.h:28,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/row.cc:22:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setBrushColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:209:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
209 | _brushColor.setNamedColor(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setPenColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:235:32: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
235 | _penColor.setNamedColor(pc);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.cc:22:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/cell.h:28,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/table.cc:28:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h: In member function ‘void Pen::setColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:88:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
88 | _color.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/pen.h:27:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setBrushColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:209:34: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
209 | _brushColor.setNamedColor(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h: In member function ‘void Format::setPenColor(QString)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/latex/export/format.h:235:32: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
235 | _penColor.setNamedColor(pc);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp: In member function ‘virtual void Swinder::TxORecord::setData(unsigned int, const unsigned char*, const unsigned int*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:1845:33: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
1845 | format.setFontFamily(font.fontFamily());
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextobject.h:9,
from /usr/include/qt6/QtGui/QTextBlock:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:24:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/sheet.cpp: In member function ‘void Swinder::Sheet::dumpStats()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/sheet.cpp:653:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘qsizetype’ {aka ‘long long int’} [-Wformat=]
653 | printf(" rows: %d\n cols: %d\n cells: %d\n", d->rows.size(), d->columns.size(), d->cells.size());
| ~^ ~~~~~~~~~~~~~~
| | |
| int qsizetype {aka long long int}
| %lld
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/sheet.cpp:653:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘qsizetype’ {aka ‘long long int’} [-Wformat=]
653 | printf(" rows: %d\n cols: %d\n cells: %d\n", d->rows.size(), d->columns.size(), d->cells.size());
| ~^ ~~~~~~~~~~~~~~~~~
| | |
| int qsizetype {aka long long int}
| %lld
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/sheet.cpp:653:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘qsizetype’ {aka ‘long long int’} [-Wformat=]
653 | printf(" rows: %d\n cols: %d\n cells: %d\n", d->rows.size(), d->columns.size(), d->cells.size());
| ~^ ~~~~~~~~~~~~~~~
| | |
| int qsizetype {aka long long int}
| %lld
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp: In member function ‘virtual void Swinder::TxORecord::setData(unsigned int, const unsigned char*, const unsigned int*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:1845:33: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
1845 | format.setFontFamily(font.fontFamily());
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextobject.h:9,
from /usr/include/qt6/QtGui/QTextBlock:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:24:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp: In member function ‘virtual void Swinder::TxORecord::setData(unsigned int, const unsigned char*, const unsigned int*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:1845:33: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
1845 | format.setFontFamily(font.fontFamily());
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextobject.h:9,
from /usr/include/qt6/QtGui/QTextBlock:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:24:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/formulas.cpp:1537:2: warning: #warning TODO Implement FormulaToken::array() [-Wcpp]
1537 | #warning TODO Implement FormulaToken::array()
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/formulas.cpp:1537:2: warning: #warning TODO Implement FormulaToken::array() [-Wcpp]
1537 | #warning TODO Implement FormulaToken::array()
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/formulas.cpp:1537:2: warning: #warning TODO Implement FormulaToken::array() [-Wcpp]
1537 | #warning TODO Implement FormulaToken::array()
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:351:20: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
351 | QVariant::Type m_currentType;
| ^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextformat.h:16,
from /usr/include/qt6/QtGui/QTextCharFormat:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/styles/KoCharacterStyle.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:15:
/usr/include/qt6/QtCore/qvariant.h:142:70: note: declared here
142 | enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
| ^~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlDrawingReader.cpp:508:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h: In member function ‘KoFilter::ConversionStatus XlsxXmlDrawingReader::read_chart()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1849:54: warning: ‘T* QScopedPointer::take() [with T = XlsxXmlChartReaderContext; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
1849 | m_currentDrawingObject->setChart(context.take());
| ~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qobject.h:17,
from /usr/include/qt6/QtCore/QObject:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/styles/KoCharacterStyle.h:18,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlDrawingReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlDrawingReader.cpp:13:
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h: In member function ‘KoFilter::ConversionStatus XlsxXmlDrawingReader::read_relIds()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1936:56: warning: ‘T* QScopedPointer::take() [with T = MSOOXML::MsooXmlDiagramReaderContext; Cleanup = QScopedPointerDeleter]’ is deprecated: Use std::unique_ptr instead, and call release(). [-Wdeprecated-declarations]
1936 | m_currentDrawingObject->setDiagram(context.take());
| ~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qscopedpointer.h:130:8: note: declared here
130 | T *take() noexcept
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:351:20: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
351 | QVariant::Type m_currentType;
| ^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextformat.h:16,
from /usr/include/qt6/QtGui/QTextCharFormat:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/styles/KoCharacterStyle.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:15:
/usr/include/qt6/QtCore/qvariant.h:142:70: note: declared here
142 | enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellEditor.cpp: In function ‘QString permuteLocationFixation(const QString&, int&, bool, bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellEditor.cpp:715:32: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
715 | while (i < regionName.count()) {
| ~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/qkeysequence.h:8,
from /usr/include/qt6/QtGui/QKeySequence:1,
from /usr/include/KF6/KCompletion/kcompletion.h:13,
from /usr/include/KF6/KCompletion/KCompletion:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellEditor.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellEditor.cpp:7:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellEditor.cpp:731:32: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
731 | while (i < regionName.count()) {
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellToolBase.cpp: In member function ‘virtual QList > Calligra::Sheets::CellToolBase::createOptionWidgets()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellToolBase.cpp:368:24: warning: ‘bool QDomDocument::setContent(QIODevice*, QString*, int*, int*)’ is deprecated: Use the overload returning ParseResult instead. [-Wdeprecated-declarations]
368 | if (!doc.setContent(&f, &errorMsg, &errorLine, &errorCol)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellToolBase.cpp:65:
/usr/include/qt6/QtXml/qdom.h:406:10: note: declared here
406 | bool setContent(QIODevice *dev, QString *errorMsg, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp: In member function ‘void Calligra::Sheets::CellView::paintText(QPainter&, const QPointF&, const Calligra::Sheets::Cell&) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp:1171:51: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
1171 | for (int j = 0; j < textLines[i].count(); ++j)
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qshareddata.h:10,
from /usr/include/qt6/QtCore/QExplicitlySharedDataPointer:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.h:23,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp:28:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp: In member function ‘void Calligra::Sheets::CellView::Private::calculateVerticalTextSize(const QFont&, const QFontMetricsF&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp:2034:45: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
2034 | rows = qMax(rows, textLines[i].count());
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp: In member function ‘void Calligra::Sheets::CellView::Private::truncateHorizontalText(const QFont&, const QFontMetricsF&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/CellView.cpp:2102:46: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
2102 | while (count < textLines[i].count() && fontMetrics.boundingRect(textLines[i].left(count)).width() <= this->width)
| ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
itex2MML.y:124:33: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
y.tab.c: In function ‘itex2MML_yyparse’:
y.tab.c:6140:20: warning: passing argument 1 of ‘itex2MML_yyerror’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
y.tab.c:776:22: note: in definition of macro ‘YY_’
itex2MML.y:30:30: note: expected ‘char *’ but argument is of type ‘const char *’
y.tab.c:6282:16: warning: passing argument 1 of ‘itex2MML_yyerror’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
y.tab.c:776:22: note: in definition of macro ‘YY_’
itex2MML.y:30:30: note: expected ‘char *’ but argument is of type ‘const char *’
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationDrawWidget.cpp: In member function ‘void KPrPresentationDrawWidget::updateColor(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationDrawWidget.cpp:172:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
172 | m_penColor.setNamedColor(color);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from /usr/include/qt6/QtGui/qpixmap.h:9,
from /usr/include/qt6/QtGui/qicon.h:10,
from /usr/include/qt6/QtGui/qaction.h:11,
from /usr/include/qt6/QtWidgets/qwidget.h:12,
from /usr/include/qt6/QtWidgets/QWidget:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolEventForwarder.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationDrawWidget.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationDrawWidget.cpp:11:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Editing.cpp: In member function ‘virtual QAction* Calligra::Sheets::EditCell::createAction()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Editing.cpp:29:76: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
29 | res->setShortcuts(QList() << QKeySequence(Qt::CTRL + Qt::Key_M));
| ^~~~~
In file included from /usr/include/qt6/QtCore/qbytearray.h:10,
from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qshareddata.h:10,
from /usr/include/qt6/QtCore/qsharedpointer.h:9,
from /usr/include/qt6/QtCore/QSharedPointer:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/../core/Cell.h:25,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/CellAction.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Editing.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Editing.cpp:8:
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Goto.cpp: In member function ‘virtual QAction* Calligra::Sheets::Goto::createAction()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Goto.cpp:35:50: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
35 | res->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_G));
| ^~~~~
In file included from /usr/include/qt6/QtCore/qbytearray.h:10,
from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qshareddata.h:10,
from /usr/include/qt6/QtCore/qsharedpointer.h:9,
from /usr/include/qt6/QtCore/QSharedPointer:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/../core/Cell.h:25,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/CellAction.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/DialogCellAction.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Goto.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Goto.cpp:8:
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:351:20: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
351 | QVariant::Type m_currentType;
| ^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextformat.h:16,
from /usr/include/qt6/QtGui/QTextCharFormat:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/text/styles/KoCharacterStyle.h:19,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/libmsooxml/MsooXmlCommonReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.h:16,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/xlsx/XlsxXmlChartReader.cpp:15:
/usr/include/qt6/QtCore/qvariant.h:142:70: note: declared here
142 | enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp: In member function ‘virtual QAction* Calligra::Sheets::Bold::createAction()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp:85:50: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
85 | res->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_B));
| ^~~~~
In file included from /usr/include/qt6/QtCore/qbytearray.h:10,
from /usr/include/qt6/QtCore/qstringview.h:10,
from /usr/include/qt6/QtCore/qchar.h:728,
from /usr/include/qt6/QtCore/qstring.h:15,
from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qshareddata.h:10,
from /usr/include/qt6/QtCore/qsharedpointer.h:9,
from /usr/include/qt6/QtCore/QSharedPointer:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/../core/Cell.h:25,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/CellAction.h:13,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/DialogCellAction.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp:8:
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp: In member function ‘virtual QAction* Calligra::Sheets::Italic::createAction()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp:121:50: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
121 | res->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_I));
| ^~~~~
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp: In member function ‘virtual QAction* Calligra::Sheets::Underline::createAction()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/Style.cpp:157:50: warning: ‘constexpr QKeyCombination Qt::operator+(Modifier, Key)’ is deprecated: Use operator| instead [-Wdeprecated-declarations]
157 | res->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_U));
| ^~~~~
/usr/include/qt6/QtCore/qnamespace.h:1980:27: note: declared here
1980 | constexpr QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key) noexcept
| ^~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp: In member function ‘virtual void SvgOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, const int*, bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp:489:18: warning: ignoring return value of ‘bool ImageStream::reset()’, declared with attribute ‘nodiscard’ [-Wunused-result]
489 | imgStr->reset();
| ~~~~~~~~~~~~~^~
In file included from /usr/include/poppler/Object.h:605,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/karbon/pdf/SvgOutputDev.cpp:7:
/usr/include/poppler/Stream.h:474:24: note: declared here
474 | [[nodiscard]] bool reset();
| ^~~~~
In file included from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/karbon/main.cpp:16:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/karbon/ui/splash/hi256-app-calligrakarbon.xpm:2:20: warning: ‘splash_screen_xpm’ defined but not used [-Wunused-variable]
2 | static const char *splash_screen_xpm[]={
| ^~~~~~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.cpp: In member function ‘bool Calligra::Sheets::DatabaseDialog::tablesDoNext()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.cpp:704:131: warning: ‘QVariant::Type QSqlField::type() const’ is deprecated: Use metaType() instead [-Wdeprecated-declarations]
704 | QTreeWidgetItem *checkItem = new QTreeWidgetItem(QStringList() << name << tables[i] << QVariant::typeToName(field.type()));
| ~~~~~~~~~~^~
In file included from /usr/include/qt6/QtSql/QSqlField:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.cpp:40:
/usr/include/qt6/QtSql/qsqlfield.h:73:20: note: declared here
73 | QVariant::Type type() const { return QVariant::Type(metaType().id()); }
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.cpp:704:120: warning: ‘static const char* QVariant::typeToName(int)’ is deprecated [-Wdeprecated-declarations]
704 | QTreeWidgetItem *checkItem = new QTreeWidgetItem(QStringList() << name << tables[i] << QVariant::typeToName(field.type()));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/QVariant:1,
from /usr/include/KF6/KConfigCore/kconfiggroup.h:20,
from /usr/include/KF6/KConfigCore/KConfigGroup:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/widgets/KoDialog.h:18,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/ActionDialog.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/actions/dialogs/DatabaseDialog.cpp:12:
/usr/include/qt6/QtCore/qvariant.h:438:24: note: declared here
438 | static const char *typeToName(int typeId)
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp: In member function ‘void Calligra::Sheets::LayoutPageBorder::slotPressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:772:36: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
772 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:36:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:772:46: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
772 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:783:36: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
783 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:783:46: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
783 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:795:36: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
795 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:795:46: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
795 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:806:36: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
806 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:806:46: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
806 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:833:40: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
833 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:833:50: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
833 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:846:40: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
846 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Border.cpp:846:50: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
846 | if (rect.contains(QPoint(_ev->x(), _ev->y()))) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.cpp: In member function ‘void Calligra::Sheets::LayoutPageFloat::initTime()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.cpp:386:69: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
386 | QDateTime tmpTime(QDate(1900, 1, 1), QTime(8, 5, 6, 35), Qt::UTC);
| ^
In file included from /usr/include/qt6/QtCore/QDateTime:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/../engine/Value.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.h:26,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.cpp:20:
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.cpp: In member function ‘void Calligra::Sheets::LayoutPageFloat::initDatetime()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/ui/dialogs/LayoutPage_Float.cpp:406:71: warning: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations]
406 | const QDateTime tmpDate(QDate(2000, 2, 9), QTime(6, 7, 8), Qt::UTC);
| ^
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
362 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0);
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp: In member function ‘void KPrPresentationToolAdaptor::highlightPresentation(int, int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp:45:97: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
45 | QMouseEvent event(QEvent::MouseMove, point, Qt::NoButton, Qt::LeftButton, Qt::NoModifier);
| ^
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp:19:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp: In member function ‘void KPrPresentationToolAdaptor::startDrawPresentation(int, int, int, const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp:62:106: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
62 | QMouseEvent event(QEvent::MouseButtonPress, point, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier);
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp: In member function ‘void KPrPresentationToolAdaptor::drawOnPresentation(int, int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp:72:97: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
72 | QMouseEvent event(QEvent::MouseMove, point, Qt::NoButton, Qt::LeftButton, Qt::NoModifier);
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp: In member function ‘void KPrPresentationToolAdaptor::stopDrawPresentation()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/KPrPresentationToolAdaptor.cpp:82:106: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
82 | QMouseEvent event(QEvent::MouseButtonRelease, point, Qt::NoButton, Qt::LeftButton, Qt::NoModifier);
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcimport.cc:1390:2: warning: #warning (coverity) what is the purpose of this constant? [-Wcpp]
1390 | #warning (coverity) what is the purpose of this constant?
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcimport.cc:1508:2: warning: #warning thousandsSep can not be true (CID 3200) [-Wcpp]
1508 | #warning thousandsSep can not be true (CID 3200)
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/qpro/3rdparty/libqpro/src/tablenames.cc: In member function ‘const char* QpTableNames::name(unsigned int)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/qpro/3rdparty/libqpro/src/tablenames.cc:56:26: warning: array subscript 2 is outside array bounds of ‘void [2]’ [-Warray-bounds=]
56 | lResult[2] = '\0';
| ~~~~~~~~~^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/qpro/3rdparty/libqpro/src/tablenames.cc:53:51: note: at offset 2 into object of size 2 allocated by ‘operator new []’
53 | lResult = cName[pIdx] = new char[2];
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/ooutils.cc: In function ‘bool OoUtils::parseBorder(const QString&, double*, int*, QColor*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/ooutils.cc:75:29: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
75 | color->setNamedColor(_color);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from /usr/include/qt6/QtGui/QColor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/ooutils.cc:14:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp: In member function ‘virtual void Swinder::TxORecord::setData(unsigned int, const unsigned char*, const unsigned int*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:1845:33: warning: ‘void QTextCharFormat::setFontFamily(const QString&)’ is deprecated: Use setFontFamilies instead [-Wdeprecated-declarations]
1845 | format.setFontFamily(font.fontFamily());
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qtextobject.h:9,
from /usr/include/qt6/QtGui/QTextBlock:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/excel.cpp:24:
/usr/include/qt6/QtGui/qtextformat.h:417:76: note: declared here
417 | QT_DEPRECATED_VERSION_X_6_1("Use setFontFamilies instead") inline void setFontFamily(const QString &family)
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/excel/sidewinder/formulas.cpp:1537:2: warning: #warning TODO Implement FormulaToken::array() [-Wcpp]
1537 | #warning TODO Implement FormulaToken::array()
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/CanvasBase.cpp: In member function ‘void Calligra::Sheets::CanvasBase::tabletEvent(QTabletEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/CanvasBase.cpp:323:76: warning: ‘QPoint QTabletEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
323 | d->toolProxy->tabletEvent(e, viewConverter()->viewToDocument(e->pos() + offset()));
| ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QTouchEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/CanvasBase.cpp:45:
/usr/include/qt6/QtGui/qevent.h:332:19: note: declared here
332 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:154:58: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
154 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:39:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:154:70: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
154 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:159:65: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
159 | debugSheets << "event->globalPos():" << event->globalPos();
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:165:68: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
165 | debugSheets << "newEvent->globalPos():" << event->globalPos();
| ~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:181:49: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
181 | showContextMenu(origEvent->globalPos());
| ~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::mouseReleaseEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:212:58: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
212 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:212:70: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
212 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:236:58: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
236 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:236:70: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
236 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::mouseDoubleClickEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:260:58: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
260 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:260:70: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
260 | const QPoint position(QWidget::width() - event->x(), event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::dragMoveEvent(QDragMoveEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:311:59: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
311 | if (CanvasBase::dragMove(event->mimeData(), event->pos(), event->source())) {
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp: In member function ‘virtual void Calligra::Sheets::Canvas::dropEvent(QDropEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/Canvas.cpp:325:55: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
325 | if (CanvasBase::drop(event->mimeData(), event->pos(), event->source())) {
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/HeaderWidgets.cpp: In member function ‘void Calligra::Sheets::RowHeaderWidget::slotAutoScroll(const QPoint&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/HeaderWidgets.cpp:116:134: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
116 | QMouseEvent event(QEvent::MouseMove, mapFromGlobal(QCursor::pos()), Qt::NoButton, Qt::NoButton, QApplication::keyboardModifiers());
| ^
In file included from /usr/include/qt6/QtGui/QTouchEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/libs/flake/KoPointerEvent.h:14,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/HeaderWidgets.cpp:48:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/HeaderWidgets.cpp: In member function ‘void Calligra::Sheets::ColumnHeaderWidget::slotAutoScroll(const QPoint&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/HeaderWidgets.cpp:266:134: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
266 | QMouseEvent event(QEvent::MouseMove, mapFromGlobal(QCursor::pos()), Qt::NoButton, Qt::NoButton, QApplication::keyboardModifiers());
| ^
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/TabBar.cpp: In member function ‘virtual void Calligra::Sheets::TabBar::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/TabBar.cpp:707:45: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
707 | Q_EMIT contextMenu(ev->globalPos());
| ~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/TabBar.cpp:15:
/usr/include/qt6/QtGui/qevent.h:225:19: note: declared here
225 | inline QPoint globalPos() const { return globalPosition().toPoint(); }
| ^~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp: In member function ‘virtual void KPrTimeLineView::mousePressEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:123:29: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
123 | int row = rowAt(event->y());
| ~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:29:
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:124:35: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
124 | int column = columnAt(event->x());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:142:46: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
142 | if (endLineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:142:58: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
142 | if (endLineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:149:47: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
149 | if (lineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:149:59: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
149 | if (lineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:150:44: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
150 | startDragPos = event->x() - lineRect.x();
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp: In member function ‘virtual void KPrTimeLineView::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:231:29: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
231 | int row = rowAt(event->y());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:232:35: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
232 | int column = columnAt(event->x());
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:238:42: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
238 | if (endLineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:238:54: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
238 | if (endLineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:241:43: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
241 | if (lineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/tools/animationtool/KPrTimeLineView.cpp:241:55: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
241 | if (lineRect.contains(event->x(), event->y())) {
| ~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/View.cpp: In member function ‘void Calligra::Sheets::View::slotAutoScroll()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/View.cpp:2273:131: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
2273 | QMouseEvent *event = new QMouseEvent(QEvent::MouseMove, pos, Qt::NoButton, Qt::NoButton, QApplication::keyboardModifiers());
| ^
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/View.cpp:37:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/SheetAdaptor.cpp: In member function ‘virtual bool Calligra::Sheets::SheetAdaptor::setValue(int, int, const QVariant&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/SheetAdaptor.cpp:170:23: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
170 | switch (value.type()) {
| ~~~~~~~~~~^~
In file included from /usr/include/qt6/QtDBus/qtdbusglobal.h:9,
from /usr/include/qt6/QtDBus/qdbusabstractadaptor.h:7,
from /usr/include/qt6/QtDBus/QDBusAbstractAdaptor:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/SheetAdaptor.h:18,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/part/SheetAdaptor.cpp:19:
/usr/include/qt6/QtCore/qvariant.h:432:10: note: declared here
432 | Type type() const
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/plugins/pageeffects/fade/KPrFadeOverColorStrategy.cpp: In member function ‘virtual void KPrFadeOverColorStrategy::loadOdfSmilAttributes(const KoXmlElement&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/plugins/pageeffects/fade/KPrFadeOverColorStrategy.cpp:83:30: warning: ‘void QColor::setNamedColor(const QString&)’ is deprecated: Use fromString() instead. [-Wdeprecated-declarations]
83 | m_fadeColor.setNamedColor(element.attributeNS(KoXmlNS::smil, "fadeColor", "#000000"));
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/qpixmap.h:9,
from /usr/include/qt6/QtGui/QPixmap:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/pageeffects/KPrPageEffect.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/pageeffects/KPrPageEffectFactory.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/part/pageeffects/KPrPageEffectStrategy.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/plugins/pageeffects/fade/KPrFadeOverColorStrategy.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/stage/plugins/pageeffects/fade/KPrFadeOverColorStrategy.cpp:8:
/usr/include/qt6/QtGui/qcolor.h:66:10: note: declared here
66 | void setNamedColor(const QString& name);
| ^~~~~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/cstester/cstester.cpp: In function ‘KoDocument* openFile(const QString&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/cstester/cstester.cpp:61:42: warning: ‘part’ may be used uninitialized [-Wmaybe-uninitialized]
61 | KoDocument *document = part->document();
| ~~~~~~~~~~~~~~^~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/cstester/cstester.cpp:45:13: note: ‘part’ was declared here
45 | KoPart *part;
| ^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/cstester/CSThumbProviderKarbon.cpp: In function ‘void processEvents()’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/devtools/cstester/CSThumbProviderKarbon.cpp:22:9: warning: unused variable ‘i’ [-Wunused-variable]
22 | int i = 100;
| ^
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/gnumeric/gnumericimport.cc:1940:2: warning: #warning "The strings in the exprID_dict have been allocated, but they have not been freed: there is a memory leak here" [-Wcpp]
1940 | #warning "The strings in the exprID_dict have been allocated, but they have not been freed: there is a memory leak here"
| ^~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/gnumeric/gnumericimport.cc: In member function ‘virtual KoFilter::ConversionStatus GNUMERICFilter::convert(const QByteArray&, const QByteArray&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/gnumeric/gnumericimport.cc:1677:24: warning: ‘bool QDomDocument::setContent(QIODevice*, bool, QString*, int*, int*)’ is deprecated: Use the overload taking ParseOptions instead. [-Wdeprecated-declarations]
1677 | if (!doc.setContent(in, true, &errorMsg, &errorLine, &errorColumn)) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtXml/QDomDocument:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/gnumeric/gnumericimport.cc:13:
/usr/include/qt6/QtXml/qdom.h:400:10: note: declared here
400 | bool setContent(QIODevice *dev, bool namespaceProcessing, QString *errorMsg = nullptr, int *errorLine = nullptr, int *errorColumn = nullptr);
| ^~~~~~~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcexport.cc: In member function ‘QString OpenCalcExport::convertFormula(const QString&) const’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcexport.cc:1082:52: warning: ‘qsizetype QString::count() const’ is deprecated: Use size() or length() instead. [-Wdeprecated-declarations]
1082 | if (ml > -1 && (i + ml) < formula.count() && formula[ i + ml ] == '!') {
| ~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtCore/qhashfunctions.h:9,
from /usr/include/qt6/QtCore/qlist.h:11,
from /usr/include/qt6/QtGui/qbrush.h:8,
from /usr/include/qt6/QtGui/QBrush:1,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/sheets/core/Style.h:12,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcstyleexport.h:10,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcexport.h:11,
from /var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/filters/sheets/opencalc/opencalcexport.cc:9:
/usr/include/qt6/QtCore/qstring.h:239:22: note: declared here
239 | inline qsizetype count() const { return d.size; }
| ^~~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/components/impl/SpreadsheetImpl.cpp: In member function ‘void Calligra::Components::SpreadsheetImpl::updateDocumentSize(const QSize&)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/components/impl/SpreadsheetImpl.cpp:202:55: warning: unused parameter ‘size’ [-Wunused-parameter]
202 | void SpreadsheetImpl::updateDocumentSize(const QSize &size)
| ~~~~~~~~~~~~~^~~~
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/components/impl/ComponentsKoCanvasController.cpp: In member function ‘virtual void Calligra::Components::ComponentsKoCanvasController::updateDocumentSize(const QSize&, bool)’:
/var/pisi/calligra-25.08.0-17/work/calligra-25.08.0/components/impl/ComponentsKoCanvasController.cpp:55:77: warning: unused parameter ‘recalculateCenter’ [-Wunused-parameter]
55 | void ComponentsKoCanvasController::updateDocumentSize(const QSize &sz, bool recalculateCenter)
| ~~~~~^~~~~~~~~~~~~~~~~