-
Notifications
You must be signed in to change notification settings - Fork 123
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
Qt integrate with libuiohook #65
Comments
Are you building the 1.1 branch? This should be fixed there, but I haven't thoroughly tested. |
Yes i use 1.1 branch. When i add integrate with QT i find one more small bug in code and fix to in Win and Osx platform (X11 not test). INCLUDEPATH += third_party/libuiohook/include SOURCES += third_party/libuiohook/src/logger.c win32: SOURCES += third_party/libuiohook/src/windows/input_helper.c macx: SOURCES += third_party/libuiohook/src/darwin/input_helper.c unix:!macx: SOURCES += third_party/libuiohook/src/x11/input_helper.c macx: HEADERS += unix:!macx: HEADERS += win32: HEADERS += and we change this for make: OSX work: Win: int* and DWORD* Last error i can figure how fix: |
This maybe fixed in 1.2, I made some adjustments to the code in question. |
@mile1000 Not sure how much it will help you, but I use this library in a Qt app I work on. I'm still improving the implementation, but it works:https://github.com/thebigG/Tasker/tree/main/Tasker/Engine/Hooks/XHook |
Hi,
we tray integrate libuiohook with Qt app and when we run app and close is we have error:
get_keyboard_layout_file [455]: RegOpenKeyEx failed to open key: "SYSTEM\CurrentControlSet\Control\Keyboard Layouts\0"!
21:07:19: The program has unexpectedly finished.
21:07:19: The process was ended forcefully.
Can you tell me what is problem. We test on win 10 and win 7 not different.
I use: demo_hook_async.c
Thanks!
The text was updated successfully, but these errors were encountered: