Fetching source from mirror: http://download.kde.org/stable/release-service/24.12.2/src/libksane-24.12.2.tar.xz
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LD_FLAGS
    ECM_MKSPECS_INSTALL_DIR


/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp: In constructor ‘KSaneIface::LabeledCombo::LabeledCombo(QWidget*, KSaneCore::Option*)’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp:40:23: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
   40 |         if (value.type() == static_cast(QMetaType::Int)) {
      |             ~~~~~~~~~~^~
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/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/ksaneoptionwidget.h:11,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.h:10,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp:7:
/usr/include/qt6/QtCore/qvariant.h:433:10: note: declared here
  433 |     Type type() const
      |          ^~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp:40:51: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
   40 |         if (value.type() == static_cast(QMetaType::Int)) {
      |                                                   ^~~~
/usr/include/qt6/QtCore/qvariant.h:143:70: note: declared here
  143 |     enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
      |                                                                      ^~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp:42:30: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
   42 |         } else if (value.type() == static_cast(QMetaType::Float)) {
      |                    ~~~~~~~~~~^~
/usr/include/qt6/QtCore/qvariant.h:433:10: note: declared here
  433 |     Type type() const
      |          ^~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledcombo.cpp:42:58: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
   42 |         } else if (value.type() == static_cast(QMetaType::Float)) {
      |                                                          ^~~~
/usr/include/qt6/QtCore/qvariant.h:143:70: note: declared here
  143 |     enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
      |                                                                      ^~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledgamma.cpp: In member function ‘void KSaneIface::LabeledGamma::setValues(const QVariant&)’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledgamma.cpp:92:49: warning: ‘QVariant::Type QVariant::type() const’ is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations]
   92 |     if (static_cast(values.type()) == QMetaType::QVariantList) {
      |                                      ~~~~~~~~~~~^~
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/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/ksaneoptionwidget.h:11,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledslider.h:11,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledgamma.h:11,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/widgets/labeledgamma.cpp:9:
/usr/include/qt6/QtCore/qvariant.h:433:10: note: declared here
  433 |     Type type() const
      |          ^~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp: In member function ‘virtual void KSaneIface::KSaneViewer::mousePressEvent(QMouseEvent*)’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:559:32: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  559 |         d->m_left_last_x = e->x();
      |                            ~~~~^~
In file included from /usr/include/qt6/QtGui/QWheelEvent:1,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.h:11,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:8:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
  227 |     inline int x() const { return qRound(position().x()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:560:32: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  560 |         d->m_left_last_y = e->y();
      |                            ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
  229 |     inline int y() const { return qRound(position().y()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp: In member function ‘virtual void KSaneIface::KSaneViewer::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:643:26: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  643 |             int dx = e->x() - d->m_left_last_x;
      |                      ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
  227 |     inline int x() const { return qRound(position().x()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:644:26: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  644 |             int dy = e->y() - d->m_left_last_y;
      |                      ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
  229 |     inline int y() const { return qRound(position().y()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:647:36: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  647 |             d->m_left_last_x = e->x();
      |                                ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
  227 |     inline int x() const { return qRound(position().x()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:648:36: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  648 |             d->m_left_last_y = e->y();
      |                                ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
  229 |     inline int y() const { return qRound(position().y()); }
      |                ^
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp: In member function ‘QPointF KSaneIface::KSaneViewer::scenePos(QMouseEvent*) const’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksaneviewer.cpp:1185:43: warning: ‘QPointF QMouseEvent::screenPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
 1185 |     const QPointF screenPos = e->screenPos();
      |                               ~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:240:13: note: declared here
  240 |     QPointF screenPos() const { return globalPosition(); }
      |             ^~~~~~~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp: In member function ‘void KSaneIface::KSaneWidgetPrivate::previewScanDone(KSaneCore::Interface::ScanStatus, const QString&)’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp:946:98: warning: unused parameter ‘strStatus’ [-Wunused-parameter]
  946 | void KSaneWidgetPrivate::previewScanDone(KSaneCore::Interface::ScanStatus status, const QString &strStatus)
      |                                                                                   ~~~~~~~~~~~~~~~^~~~~~~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp: In member function ‘void KSaneIface::KSaneWidgetPrivate::setPossibleScanSizes()’:
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp:1272:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1272 |     for (int sizeCode: qAsConst(m_sizeCodes)) {
      |                        ~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qtwidgetsglobal.h:7,
                 from /usr/include/qt6/QtWidgets/qwidget.h:7,
                 from /usr/include/qt6/QtWidgets/QWidget:1,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.h:12,
                 from /var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp:10:
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/var/pisi/libksane-24.12.2-58/work/libksane-24.12.2/src/ksanewidget_p.cpp:1284:32: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList; typename std::add_const<_Tp>::type = const QList]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
 1284 |     for (int sizeCode: qAsConst(m_sizeCodes)) {
      |                        ~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:36:45: note: declared here
   36 | constexpr typename std::add_const::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
*** 0 error(s), 1 warning(s)