Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

during assembly - "deprecated: Use the other constructor [-Wdeprecated-declarations]" #16

Open
StanFrad opened this issue May 31, 2024 · 0 comments

Comments

@StanFrad
Copy link

StanFrad commented May 31, 2024

no clicks on the applet are registered, during assembly - "deprecated: Use the other constructor [-Wdeprecated-declarations]"

-- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "1.4.0", minimum required is "0.5.0")
-- Found KF6CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.1.0")
-- Found KF6Declarative: /usr/lib/x86_64-linux-gnu/cmake/KF6Declarative/KF6DeclarativeConfig.cmake (found version "6.1.0")
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Found KF6Package: /usr/lib/x86_64-linux-gnu/cmake/KF6Package/KF6PackageConfig.cmake (found version "6.1.0")
-- Found KF6Svg: /usr/lib/x86_64-linux-gnu/cmake/KF6Svg/KF6SvgConfig.cmake (found version "6.1.0")
-- Found KF6: success (found suitable version "6.1.0", minimum required is "5.246.0") found components: CoreAddons 
-- KDECORATION2 VERSION MAJOR : 6
-- KDECORATION2 VERSION MINOR : 0
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF6I18n: /usr/lib/x86_64-linux-gnu/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.1.0")
-- Found KF6Service: /usr/lib/x86_64-linux-gnu/cmake/KF6Service/KF6ServiceConfig.cmake (found version "6.1.0")
-- Found KF6ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF6ConfigWidgets/KF6ConfigWidgetsConfig.cmake (found version "6.1.0")
-- Found KF6KCMUtils: /usr/lib/x86_64-linux-gnu/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake (found version "6.1.0")
-- Found KF6: success (found suitable version "6.1.0", minimum required is "6.0.0") found components: CoreAddons I18n Service ConfigWidgets KCMUtils

/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewclient.cpp: In member function ‘virtual void PreviewClient::requestShowWindowMenu(const QRect&)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewclient.cpp:393:56: warning: unused parameter ‘rect’ [-Wunused-parameter]
 393 | void PreviewClient::requestShowWindowMenu(const QRect &rect)
     |                                           ~~~~~~~~~~~~~^~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::mousePressEvent(QMouseEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:480:114: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 480 |     QMouseEvent e(event->type(), m_visualGeometry.center(), event->button(), event->buttons(), event->modifiers());
     |                                                                                                                  ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:200:5: note: declared here
 200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
     |     ^~~~~~~~~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::mouseReleaseEvent(QMouseEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:496:140: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 496 |     QMouseEvent e(event->type(), inItem ? m_visualGeometry.center() : QPoint(-5, -5), event->button(), event->buttons(), event->modifiers());
     |                                                                                                                                            ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:200:5: note: declared here
 200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
     |     ^~~~~~~~~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::mouseMoveEvent(QMouseEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:515:114: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 515 |     QMouseEvent e(event->type(), m_visualGeometry.center(), event->button(), event->buttons(), event->modifiers());
     |                                                                                                                  ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:200:5: note: declared here
 200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
     |     ^~~~~~~~~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::hoverEnterEvent(QHoverEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:530:37: warning: ‘QHoverEvent::QHoverEvent(QEvent::Type, const QPointF&, const QPointF&, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use the other constructor [-Wdeprecated-declarations]
 530 |                   event->modifiers());
     |                                     ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:253:5: note: declared here
 253 |     QHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos,
     |     ^~~~~~~~~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::hoverLeaveEvent(QHoverEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:544:95: warning: ‘QHoverEvent::QHoverEvent(QEvent::Type, const QPointF&, const QPointF&, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use the other constructor [-Wdeprecated-declarations]
 544 |     QHoverEvent e(event->type(), QPoint(-5, -5), m_visualGeometry.center(), event->modifiers());
     |                                                                                               ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:253:5: note: declared here
 253 |     QHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos,
     |     ^~~~~~~~~~~
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp: In member function ‘virtual void PreviewButtonItem::hoverMoveEvent(QHoverEvent*)’:
/home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:564:68: warning: ‘QHoverEvent::QHoverEvent(QEvent::Type, const QPointF&, const QPointF&, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use the other constructor [-Wdeprecated-declarations]
 564 |     QHoverEvent e(event->type(), newPos, oldPos, event->modifiers());
     |                                                                    ^
In file included from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickitem.h:14,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/qquickpainteditem.h:7,
                from /usr/include/x86_64-linux-gnu/qt6/QtQuick/QQuickPaintedItem:1,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.h:32,
                from /home/s/applet-window-buttons6-0.13.0/libappletdecoration/previewbutton.cpp:24:
/usr/include/x86_64-linux-gnu/qt6/QtGui/qevent.h:253:5: note: declared here
 253 |     QHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos,
     |     ^~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant