Skip to content

ERROR -> QMouseEvent compile fails on Arch; for several weeks now #50

@djhunter67

Description

@djhunter67

Problem

  • Every morning I update my home Arch system at home and then my work Arch system; the Arch laptop on the weekends.
  • For several weeks now, my updates fail with the following error (for every Arch computer):
src/controlbutton.cpp: In member function ‘virtual void controlButton::mouseMoveEvent(QMouseEvent*)’:
src/controlbutton.cpp:20:43: error: ‘class QMouseEvent’ has no member named ‘position’
   20 |   QToolTip::showText(this->mapToGlobal(e->position().toPoint()),
      |                                           ^~~~~~~~
make: *** [Makefile:736: controlbutton.o] Error 1

Solution

  • Remove the tool-tip feature that requires the mouse position.
  • Apparently the QmouseEvent dependency is broken. I have remove the offending line. BingWall now compiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions