CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
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-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/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp: In member function ‘virtual void kpColorCellsBase::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:391:17: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
391 | if (e->x() > d->mousePos.x() + delay || e->x() < d->mousePos.x() - delay || e->y() > d->mousePos.y() + delay || e->y() < d->mousePos.y() - delay) {
| ~~~~^~
In file included from /usr/include/qt6/QtGui/QDragEnterEvent:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:18:
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:391:53: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
391 | if (e->x() > d->mousePos.x() + delay || e->x() < d->mousePos.x() - delay || e->y() > d->mousePos.y() + delay || e->y() < d->mousePos.y() - delay) {
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:391:89: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
391 | if (e->x() > d->mousePos.x() + delay || e->x() < d->mousePos.x() - delay || e->y() > d->mousePos.y() + delay || e->y() < d->mousePos.y() - delay) {
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:391:125: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
391 | if (e->x() > d->mousePos.x() + delay || e->x() < d->mousePos.x() - delay || e->y() > d->mousePos.y() + delay || e->y() < d->mousePos.y() - delay) {
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp: In function ‘void SetDropAction(QWidget*, QDropEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:423:61: warning: ‘Qt::KeyboardModifiers QDropEvent::keyboardModifiers() const’ is deprecated: Use modifiers() [-Wdeprecated-declarations]
423 | if (event->source() == self && (event->keyboardModifiers() & Qt::ControlModifier) == 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:721:34: note: declared here
721 | inline Qt::KeyboardModifiers keyboardModifiers() const { return modifiers(); }
| ^~~~~~~~~~~~~~~~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp: In member function ‘virtual void kpColorCellsBase::dropEvent(QDropEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/lgpl/generic/widgets/kpColorCellsBase.cpp:466:45: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
466 | int cell = positionToCell(event->pos(), true, true /*allow empty cell*/);
| ~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/imagelib/transforms/kpTransformFlipCommand.cpp: In member function ‘void kpTransformFlipCommand::flip()’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/imagelib/transforms/kpTransformFlipCommand.cpp:103:44: warning: ‘QImage QImage::mirrored(bool, bool) &&’ is deprecated: Use flipped(Qt::Orientations) instead [-Wdeprecated-declarations]
103 | doc->setImage(doc->image().mirrored(m_horiz, m_vert));
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QImage:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/imagelib/kpImage.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/kpCommandSize.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/kpCommand.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/imagelib/transforms/kpTransformFlipCommand.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/commands/imagelib/transforms/kpTransformFlipCommand.cpp:8:
/usr/include/qt6/QtGui/qimage.h:223:26: note: declared here
223 | [[nodiscard]] QImage mirrored(bool horizontally = false, bool vertically = true) &&
| ^~~~~~~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/layers/selections/image/kpAbstractImageSelection.cpp: In member function ‘virtual void kpAbstractImageSelection::flip(bool, bool)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/layers/selections/image/kpAbstractImageSelection.cpp:472:45: warning: ‘QImage QImage::mirrored(bool, bool) const &’ is deprecated: Use flipped(Qt::Orientations) instead [-Wdeprecated-declarations]
472 | d->baseImage = d->baseImage.mirrored(horiz, vert);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/qt6/QtGui/QImage:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/imagelib/kpImage.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/layers/selections/image/kpAbstractImageSelection.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/layers/selections/image/kpAbstractImageSelection.cpp:10:
/usr/include/qt6/QtGui/qimage.h:220:26: note: declared here
220 | [[nodiscard]] QImage mirrored(bool horizontally = false, bool vertically = true) const &
| ^~~~~~~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/layers/selections/image/kpAbstractImageSelection.cpp:479:67: warning: ‘QImage QImage::mirrored(bool, bool) &&’ is deprecated: Use flipped(Qt::Orientations) instead [-Wdeprecated-declarations]
479 | QImage image = d->transparencyMaskCache.toImage().mirrored(horiz, vert);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt6/QtGui/qimage.h:223:26: note: declared here
223 | [[nodiscard]] QImage mirrored(bool horizontally = false, bool vertically = true) &&
| ^~~~~~~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/mainWindow/kpMainWindow.cpp: In member function ‘virtual void kpMainWindow::dropEvent(QDropEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/mainWindow/kpMainWindow.cpp:697:61: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
697 | const QPoint globalPos = QWidget::mapToGlobal(e->pos());
| ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QCloseEvent:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/toolbars/kpColorToolBar.h:11,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/mainWindow/kpMainWindow.cpp:26:
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/tools/kpTool_KeyboardEvents.cpp: In member function ‘void kpTool::seeIfAndHandleBeginDrawKeyPress(QKeyEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/tools/kpTool_KeyboardEvents.cpp:197:158: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
197 | QMouseEvent me(QEvent::MouseButtonPress, view->mapFromGlobal(QCursor::pos()), Qt::LeftButton, Qt::LeftButton /*button state after event*/, Qt::NoModifier);
| ^
In file included from /usr/include/qt6/QtGui/QKeyEvent:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/tools/kpTool_KeyboardEvents.cpp:23:
/usr/include/qt6/QtGui/qevent.h:202:5: note: declared here
202 | QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
| ^~~~~~~~~~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/tools/kpTool_KeyboardEvents.cpp: In member function ‘void kpTool::seeIfAndHandleEndDrawKeyPress(QKeyEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/tools/kpTool_KeyboardEvents.cpp:227:158: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
227 | QMouseEvent me(QEvent::MouseButtonRelease, view->mapFromGlobal(QCursor::pos()), Qt::LeftButton, Qt::NoButton /*button state after event*/, 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/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp: In member function ‘virtual void kpDualColorButton::dragMoveEvent(QDragMoveEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:178:53: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
178 | e->setAccepted((foregroundRect().contains(e->pos()) || backgroundRect().contains(e->pos())) && KColorMimeData::canDecode(e->mimeData()));
| ~~~~~~^~
In file included from /usr/include/qt6/QtGui/QMouseEvent:1,
from /var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:21:
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:178:92: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
178 | e->setAccepted((foregroundRect().contains(e->pos()) || backgroundRect().contains(e->pos())) && KColorMimeData::canDecode(e->mimeData()));
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp: In member function ‘virtual void kpDualColorButton::dropEvent(QDropEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:192:45: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
192 | if (foregroundRect().contains(e->pos())) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:194:52: warning: ‘QPoint QDropEvent::pos() const’ is deprecated: Use position().toPoint() [-Wdeprecated-declarations]
194 | } else if (backgroundRect().contains(e->pos())) {
| ~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:715:19: note: declared here
715 | inline QPoint pos() const { return position().toPoint(); }
| ^~~
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp: In member function ‘virtual void kpDualColorButton::mouseMoveEvent(QMouseEvent*)’:
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:235:13: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
235 | if (e->x() < m_dragStartPoint.x() - delay || e->x() > m_dragStartPoint.x() + delay || e->y() < m_dragStartPoint.y() - delay
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:235:54: warning: ‘int QMouseEvent::x() const’ is deprecated: Use position() [-Wdeprecated-declarations]
235 | if (e->x() < m_dragStartPoint.x() - delay || e->x() > m_dragStartPoint.x() + delay || e->y() < m_dragStartPoint.y() - delay
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:227:16: note: declared here
227 | inline int x() const { return qRound(position().x()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:235:95: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
235 | if (e->x() < m_dragStartPoint.x() - delay || e->x() > m_dragStartPoint.x() + delay || e->y() < m_dragStartPoint.y() - delay
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^
/var/pisi/kolourpaint-25.04.3-60/work/kolourpaint-25.04.3/widgets/kpDualColorButton.cpp:236:16: warning: ‘int QMouseEvent::y() const’ is deprecated: Use position() [-Wdeprecated-declarations]
236 | || e->y() > m_dragStartPoint.y() + delay) {
| ~~~~^~
/usr/include/qt6/QtGui/qevent.h:229:16: note: declared here
229 | inline int y() const { return qRound(position().y()); }
| ^