Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80425

Error when compiling QtWayland, non-virtual marked with override

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Environment:

      Description

      In file included from qwaylandintegration.cpp:44:
      ./qwaylandinputdevice_p.h:306:47: error: only virtual member functions can be marked 'override'
          void pointer_axis_source(uint32_t source) override;
                                                    ^~~~~~~~
      ./qwaylandinputdevice_p.h:307:58: error: only virtual member functions can be marked 'override'
          void pointer_axis_stop(uint32_t time, uint32_t axis) override;
                                                               ^~~~~~~~
      ./qwaylandinputdevice_p.h:308:62: error: only virtual member functions can be marked 'override'
          void pointer_axis_discrete(uint32_t axis, int32_t value) override;
                                                                   ^~~~~~~~
      ./qwaylandinputdevice_p.h:309:26: error: only virtual member functions can be marked 'override'
          void pointer_frame() override;
                               ^~~~~~~~
      ./qwaylandinputdevice_p.h:343:9: error: unknown type name 'axis_source'
              axis_source axisSource = axis_source_wheel;
              ^
      ./qwaylandinputdevice_p.h:360:33: error: unknown type name 'axis_source'
          bool isDefinitelyTerminated(axis_source source) const;
                                      ^
      ./qwaylandinputdevice_p.h:293:71: error: no matching member function for call to 'object'
          struct ::wl_pointer *wl_pointer() { return QtWayland::wl_pointer::object(); }
                                                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      hardwareintegration/../../../../../../qtwayland/src/client/qwayland-wayland.h:665:30: note: candidate function not viable: no known conversion from 'QtWaylandClient::QWaylandInputDevice::Pointer' to 'QtWayland::wl_pointer' for object argument
              struct ::wl_pointer *object() { return m_wl_pointer; }
                                   ^
      hardwareintegration/../../../../../../qtwayland/src/client/qwayland-wayland.h:666:36: note: candidate function not viable: no known conversion from 'QtWaylandClient::QWaylandInputDevice::Pointer' to 'const QtWayland::wl_pointer' for object argument
              const struct ::wl_pointer *object() const { return m_wl_pointer; }
                                         ^
      7 errors generated.
      
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              johanhelsing Johan Helsing
              Reporter:
              roussinm Maxime Roussin-BĂ©langer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes