CMake Warning at src/plugins/CMakeLists.txt:7 (find_package):
By not providing "FindMarble.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Marble", but
CMake did not find one.
Could not find a package configuration file provided by "Marble" with any
of the following names:
MarbleConfig.cmake
marble-config.cmake
Add the installation prefix of "Marble" to CMAKE_PREFIX_PATH or set
"Marble_DIR" to a directory containing one of the above files. If "Marble"
provides a separate development package or SDK, be sure it has been
installed.
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSectionData.cpp: In member function ‘void KReportSectionData::Private::loadXml(const QDomElement&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSectionData.cpp:124:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(KReportItemBase*, KReportItemBase*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
124 | qSort(objects.begin(), objects.end(), zLessThan);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qobject.h:49,
from /usr/include/qt5/QtCore/qcoreapplication.h:46,
from /usr/include/qt5/QtCore/QCoreApplication:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportUnit.h:30,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSectionData.h:24,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSectionData.cpp:20:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp: In member function ‘void OROSection::sortPrimitives(Qt::Orientation)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp:366:14: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(OROPrimitive*, OROPrimitive*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
366 | qSort(d->primitives.begin(), d->primitives.end(), xLessThan);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/QList:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.h:22,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp:18:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp: In member function ‘void OROTextBox::setLineStyle(const KReportLineStyle&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp:520:20: warning: implicitly-declared ‘KReportLineStyle& KReportLineStyle::operator=(const KReportLineStyle&)’ is deprecated [-Wdeprecated-copy]
520 | d->lineStyle = ls;
| ^~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.h:35:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLineStyle.h:81:5: note: because ‘KReportLineStyle’ has user-provided ‘KReportLineStyle::KReportLineStyle(const KReportLineStyle&)’
81 | KReportLineStyle(const KReportLineStyle &other)
| ^~~~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp: In member function ‘void OROLine::setLineStyle(const KReportLineStyle&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp:632:20: warning: implicitly-declared ‘KReportLineStyle& KReportLineStyle::operator=(const KReportLineStyle&)’ is deprecated [-Wdeprecated-copy]
632 | d->lineStyle = style;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLineStyle.h:81:5: note: because ‘KReportLineStyle’ has user-provided ‘KReportLineStyle::KReportLineStyle(const KReportLineStyle&)’
81 | KReportLineStyle(const KReportLineStyle &other)
| ^~~~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp: In member function ‘void OROCheckBox::setLineStyle(const KReportLineStyle&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportRenderObjects.cpp:936:20: warning: implicitly-declared ‘KReportLineStyle& KReportLineStyle::operator=(const KReportLineStyle&)’ is deprecated [-Wdeprecated-copy]
936 | d->lineStyle = ls;
| ^~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLineStyle.h:81:5: note: because ‘KReportLineStyle’ has user-provided ‘KReportLineStyle::KReportLineStyle(const KReportLineStyle&)’
81 | KReportLineStyle(const KReportLineStyle &other)
| ^~~~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportDesign.cpp: In member function ‘void KReportDesign::addSection(const KReportSection&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportDesign.cpp:233:35: warning: implicitly-declared ‘KReportSection& KReportSection::operator=(const KReportSection&)’ is deprecated [-Wdeprecated-copy]
233 | *d->sections[index] = section;
| ^~~~~~~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportDesign.h:24,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportDesign.cpp:20:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportSection.h:114:5: note: because ‘KReportSection’ has user-provided ‘KReportSection::KReportSection(const KReportSection&)’
114 | KReportSection(const KReportSection &other)
| ^~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/renderer/KReportPrintRenderer_p.cpp: In member function ‘bool KReportPrivate::PrintRenderer::setupPrinter(ORODocument*, QPrinter*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/renderer/KReportPrintRenderer_p.cpp:47:29: warning: ‘void QPrinter::setOrientation(Orientation)’ is deprecated: Use setPageOrientation() instead. [-Wdeprecated-declarations]
47 | pPrinter->setOrientation((document->pageLayout().orientation() == QPageLayout::Portrait ? QPrinter::Portrait : QPrinter::Landscape));
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtPrintSupport/QPrinter:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/renderer/KReportPrintRenderer_p.cpp:27:
/usr/include/qt5/QtPrintSupport/qprinter.h:172:10: note: declared here
172 | void setOrientation(Orientation);
| ^~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/renderer/KReportPrintRenderer_p.cpp: In member function ‘virtual bool KReportPrivate::PrintRenderer::render(const KReportRendererContext&, ORODocument*, int)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/renderer/KReportPrintRenderer_p.cpp:87:59: warning: ‘int QPrinter::numCopies() const’ is deprecated: Use copyCount() instead. [-Wdeprecated-declarations]
87 | for (int copy = 0; copy < context.printer()->numCopies(); copy++) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt5/QtPrintSupport/qprinter.h:219:9: note: declared here
219 | int numCopies() const;
| ^~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSection.cpp: In member function ‘virtual KReportSection::Data* KReportSection::Data::clone() const’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSection.cpp:172:27: warning: implicitly-declared ‘KReportElement& KReportElement::operator=(const KReportElement&)’ is deprecated [-Wdeprecated-copy]
172 | eClone = el.clone();
| ^
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportElement:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportSection.h:34,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportSection.cpp:20:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportElement.h:95:5: note: because ‘KReportElement’ has user-provided ‘KReportElement::KReportElement(const KReportElement&)’
95 | KReportElement(const KReportElement &other)
| ^~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesignerSection.cpp:53:78: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
53 | explicit ReportResizeBar(QWidget * parent = nullptr, Qt::WindowFlags f = nullptr);
| ^~~~~~~
In file included from /usr/include/qt5/QtCore/qglobal.h:1307,
from /usr/include/qt5/QtGui/qtguiglobal.h:43,
from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
from /usr/include/qt5/QtWidgets/qwidget.h:43,
from /usr/include/qt5/QtWidgets/QWidget:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesignerSection.h:23,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesignerSection.cpp:20:
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
| ^~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesignerSection.cpp: In constructor ‘KReportDesignerSection::KReportDesignerSection(KReportDesigner*, const KReportZoomHandler&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesignerSection.cpp:137:44: warning: ‘constexpr QFlags::QFlags(Zero) [with Enum = Qt::WindowType; Zero = int QFlags::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
137 | d->resizeBar = new ReportResizeBar(this);
| ^
/usr/include/qt5/QtCore/qflags.h:123:80: note: declared here
123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
| ^~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesigner.cpp: In static member function ‘static QList KReportDesigner::itemActions(QActionGroup*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesigner.cpp:1481:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(QAction*, QAction*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
1481 | qSort(actList.begin(), actList.end(), actionPriortyLessThan);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qobject.h:49,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/QWidget:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesigner.h:22,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportDesigner.cpp:20:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp: In member function ‘virtual void HorizontalPaintingStrategy::drawMeasurements(const KReportRuler::Private*, QPainter*, const QRectF&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:457:56: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
457 | textLength = qMax(textLength, fontMetrics.width(QString::number(number)));
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtWidgets/qwidget.h:50,
from /usr/include/qt5/QtWidgets/QWidget:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.h:27,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:24:
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:516:58: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
516 | painter->drawText(QPointF(x-fontMetrics.width(numberText)/2.0,
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp: In member function ‘virtual void VerticalPaintingStrategy::drawMeasurements(const KReportRuler::Private*, QPainter*, const QRectF&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:687:56: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
687 | textLength = qMax(textLength, fontMetrics.width(QString::number(number)));
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:736:57: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
736 | painter->drawText(QPointF(-fontMetrics.width(numberText) / 2.0, -measurementTextAboveBelowMargin), numberText);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp: In member function ‘void HorizontalDistancesPaintingStrategy::drawDistanceLine(const KReportRuler::Private*, QPainter*, qreal, qreal)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:823:69: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
823 | QPointF labelPosition = QPointF(midPoint.x() - fontMetrics.width(label)/2,
| ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:829:59: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
829 | qreal arrowLength = (line.length() - fontMetrics.width(label)) / 2 - 2;
| ~~~~~~~~~~~~~~~~~^~~~~~~
/usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
106 | int width(const QString &, int len = -1) const;
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp: In member function ‘virtual void HorizontalDistancesPaintingStrategy::drawMeasurements(const KReportRuler::Private*, QPainter*, const QRectF&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:860:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
860 | qSort(points.begin(), points.end());
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qobject.h:49,
from /usr/include/qt5/QtCore/qcoreapplication.h:46,
from /usr/include/qt5/QtCore/QCoreApplication:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/common/KReportUnit.h:30,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.h:26:
/usr/include/qt5/QtCore/qalgorithms.h:174:46: note: declared here
174 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end)
| ^~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp: In member function ‘QList KReportRuler::tabs() const’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/wrtembed/KReportRuler_p.cpp:1240:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = int (*)(const KReportRuler::Tab&, const KReportRuler::Tab&)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
1240 | qSort(answer.begin(), answer.end(), compareTabs);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/items/label/KReportLabelElement.cpp:20:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h: In member function ‘void KReportLabelElement::setBorderStyle(const KReportLineStyle&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h:159:31: warning: implicitly-declared ‘KReportLineStyle& KReportLineStyle::operator=(const KReportLineStyle&)’ is deprecated [-Wdeprecated-copy]
159 | data()->borderStyle = borderStyle;
| ^~~~~~~~~~~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h:33:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLineStyle.h:81:5: note: because ‘KReportLineStyle’ has user-provided ‘KReportLineStyle::KReportLineStyle(const KReportLineStyle&)’
81 | KReportLineStyle(const KReportLineStyle &other)
| ^~~~~~~~~~~~~~~~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/items/label/KReportLabelPlugin.cpp:25:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h: In member function ‘void KReportLabelElement::setBorderStyle(const KReportLineStyle&)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h:159:31: warning: implicitly-declared ‘KReportLineStyle& KReportLineStyle::operator=(const KReportLineStyle&)’ is deprecated [-Wdeprecated-copy]
159 | data()->borderStyle = borderStyle;
| ^~~~~~~~~~~
In file included from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLabelElement.h:33:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/build/src/KReportLineStyle.h:81:5: note: because ‘KReportLineStyle’ has user-provided ‘KReportLineStyle::KReportLineStyle(const KReportLineStyle&)’
81 | KReportLineStyle(const KReportLineStyle &other)
| ^~~~~~~~~~~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp: In function ‘void renderCodeEAN13(OROPage*, const QRectF&, const QString&, Qt::Alignment)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:252:40: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
252 | QString leftstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
253 | val[1], val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:25:
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:254:41: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
254 | QString rightstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
255 | val[7], val[8], val[9], val[10], val[11], val[12]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp: In function ‘void renderCodeUPCA(OROPage*, const QRectF&, const QString&, Qt::Alignment)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:448:40: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
448 | QString leftstr = QString().sprintf("%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
449 | val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:450:41: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
450 | QString rightstr = QString().sprintf("%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
451 | val[7], val[8], val[9], val[10], val[11]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp: In function ‘void renderCodeEAN8(OROPage*, const QRectF&, const QString&, Qt::Alignment)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:656:40: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
656 | QString leftstr = QString().sprintf("%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
657 | val[0], val[1], val[2], val[3]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:658:41: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
658 | QString rightstr = QString().sprintf("%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
659 | val[4], val[5], val[6], val[7]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp: In function ‘void renderCodeUPCE(OROPage*, const QRectF&, const QString&, Qt::Alignment)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeean.cpp:816:40: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
816 | QString leftstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
817 | val[1], val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp: In function ‘void renderCodeEAN13(const QRect&, const QString&, Qt::Alignment, QPainter*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:210:44: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
210 | QString leftstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
211 | val[1], val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from /var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:25:
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:212:45: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
212 | QString rightstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
213 | val[7], val[8], val[9], val[10], val[11], val[12]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp: In function ‘void renderCodeUPCA(const QRect&, const QString&, Qt::Alignment, QPainter*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:361:44: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
361 | QString leftstr = QString().sprintf("%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
362 | val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:363:45: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
363 | QString rightstr = QString().sprintf("%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
364 | val[7], val[8], val[9], val[10], val[11]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp: In function ‘void renderCodeEAN8(const QRect&, const QString&, Qt::Alignment, QPainter*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:512:44: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
512 | QString leftstr = QString().sprintf("%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
513 | val[0], val[1], val[2], val[3]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:514:45: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
514 | QString rightstr = QString().sprintf("%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
515 | val[4], val[5], val[6], val[7]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp: In function ‘void renderCodeUPCE(const QRect&, const QString&, Qt::Alignment, QPainter*)’:
/var/pisi/kreport-3.2.0-44/work/kreport-3.2.0/src/plugins/barcode/codeeanpaint.cpp:638:44: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
638 | QString leftstr = QString().sprintf("%d%d%d%d%d%d",
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
639 | val[1], val[2], val[3], val[4], val[5], val[6]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt5/QtCore/qstring.h:390:14: note: declared here
390 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
| ^~~~~~~