Don't forgot us Qt5.13 and Qt5.12 people

Allen Winter winter at kde.org
Sun May 17 21:30:39 BST 2020


Today's changes in kalarm and akonadi-calendar-tools broke compile.
I'm using Qt5.13

/data/kde/src/5/kde/pim/kalarm/src/lib/spinbox2.cpp:681:21: error: ‘class QWheelEvent
’ has no member named ‘position’
  681 |     QPointF pt = e->position();
      |                     ^~~~~~~~
/data/kde/src/5/kde/pim/kalarm/src/lib/spinbox2.cpp:686:66: error: ‘class QWheelEvent’ has no member named ‘globalPosition’; did you mean ‘globalPos’?
  686 |         QApplication::postEvent(mSpinbox, new QWheelEvent(pt, e->globalPosition(), e->pixelDelta(), e->angleDelta(), e->buttons(), e->modifiers(), e->phase(), e->inverted(), e->source()));
      |                                                                  ^~~~~~~~~~~~


and 

/data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendar.cpp: In member function ‘bool KonsoleKalendar::printCalendarList()’:
/data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendar.cpp:111:76: error: no matching function for call to ‘QSet<QString>::QSet(QList<QString>::const_iterator, QList<QString>::const_iterator)’
  111 |         auto mimeTypeSet = QSet<QString>(mimeTypes.begin(), mimeTypes.end());           // set changes by run method intersect
      |                                                                            ^
In file included from /usr/include/qt5/QtCore/QSet:1,
                 from /data/kde/inst/5/include/KF5/KCalendarCore/kcalendarcore/incidencebase.h:53,
                 from /data/kde/inst/5/include/KF5/KCalendarCore/kcalendarcore/incidence.h:24,
                 from /data/kde/inst/5/include/KF5/KCalendarCore/kcalendarcore/event.h:19,
                 from /data/kde/inst/5/include/KF5/KCalendarCore/KCalendarCore/Event:1,
                 from /data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendarvariables.h:31,
                 from /data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendar.h:31,
                 from /data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendar.cpp:33:
/usr/include/qt5/QtCore/qset.h:61:12: note: candidate: ‘QSet<T>::QSet(std::initializer_list<_Tp>) [with T = QString]’
   61 |     inline QSet(std::initializer_list<T> list)
      |            ^~~~
/usr/include/qt5/QtCore/qset.h:61:12: note:   candidate expects 1 argument, 2 provided
/usr/include/qt5/QtCore/qset.h:59:12: note: candidate: ‘QSet<T>::QSet() [with T = QString]’
   59 |     inline QSet() Q_DECL_NOTHROW {}
      |            ^~~~
/usr/include/qt5/QtCore/qset.h:59:12: note:   candidate expects 0 arguments, 2 provided
/usr/include/qt5/QtCore/qset.h:54:7: note: candidate: ‘QSet<QString>::QSet(const QSet<QString>&)’
   54 | class QSet
      |       ^~~~
/usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 provided
/usr/include/qt5/QtCore/qset.h:54:7: note: candidate: ‘QSet<QString>::QSet(QSet<QString>&&)’
/usr/include/qt5/QtCore/qset.h:54:7: note:   candidate expects 1 argument, 2 provided
/data/kde/src/5/kde/pim/akonadi-calendar-tools/konsolekalendar/konsolekalendar.cpp:118:104: error: no matching function for call to ‘QSet<QString>::QSet(QList<QString>::const_iterator, QList<QString>::const_iterator)’
  118 |             auto collectionMimeTypeSet = QSet<QString>(contentMimeTypes.begin(), contentMimeTypes.end());
      |                                                                                                        ^






More information about the kde-pim mailing list