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

fix: compile error, no more tooltip for mouse position #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djhunter67
Copy link

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.

@djhunter67
Copy link
Author

This is the solution to issue #50 .

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

Successfully merging this pull request may close these issues.

1 participant