Skycoder42 / QHotkey

A global shortcut/hotkey for Desktop Qt-Applications
BSD 3-Clause "New" or "Revised" License
548 stars 161 forks source link

Please add cmake subdir instructions to README #76

Closed ManuelSchneid3r closed 1 year ago

ManuelSchneid3r commented 1 year ago

I tried to use qhotkey as a git submodule using

add_subdirectory(QHotKey)
target_link_libraries(${PROJECT_NAME} PRIVATE qhotkey)

However I get errors considering windows.h and QX11Extras although I am on Macos. I guess I am doing it wrong. How are we intended to use QHotkey when qpm is not an option?

ManuelSchneid3r commented 1 year ago

My bad a malicious GLOB_RECURSE was the issue. This information would be helful i guess though. regards