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

fails to build on Linux #33

Closed
Kolcha opened this issue Apr 27, 2020 · 2 comments
Closed

fails to build on Linux #33

Kolcha opened this issue Apr 27, 2020 · 2 comments

Comments

@Kolcha
Copy link
Contributor

Kolcha commented Apr 27, 2020

Ubuntu 18.04 (bionic), amd64, build on Travis CI

../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp: In member function ‘virtual bool QHotkeyPrivateX11::nativeEventFilter(const QByteArray&, void*, long int*)’:
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp:88:9: error: ‘class QHotkeyPrivateX11’ has no member named ‘releaseTimer’; did you mean ‘deleteLater’?
   this->releaseTimer = timer;
         ^~~~~~~~~~~~
         deleteLater
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp: In constructor ‘QHotkeyPrivateX11::HotkeyErrorHandler::HotkeyErrorHandler()’:
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp:220:2: error: invalid use of non-static data member ‘QHotkeyPrivateX11::prevHandler’
  prevHandler = XSetErrorHandler(&HotkeyErrorHandler::handleError);
  ^~~~~~~~~~~
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp:32:16: note: declared here
  XErrorHandler prevHandler;
                ^~~~~~~~~~~
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp: In destructor ‘QHotkeyPrivateX11::HotkeyErrorHandler::~HotkeyErrorHandler()’:
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp:225:19: error: invalid use of non-static data member ‘QHotkeyPrivateX11::prevHandler’
  XSetErrorHandler(prevHandler);
                   ^~~~~~~~~~~
../../../3rdparty/QHotkey/QHotkey/qhotkey_x11.cpp:32:16: note: declared here
  XErrorHandler prevHandler;
                ^~~~~~~~~~~
Makefile:583: recipe for target 'qhotkey_x11.o' failed
make[2]: *** [qhotkey_x11.o] Error 1

library is a part of app, qhotkey.pri is included
full build output can be found here, it has some highlight, so it is easier to read

@mostvexingparse
Copy link

mostvexingparse commented Apr 30, 2020

had the same issue, it looks like #32 broke the build on linux

@Skycoder42
Copy link
Owner

I'll take a look at it this weekend

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

3 participants