Skycoder42 / QHotkey

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

Add CMake support #23

Closed mujx closed 5 years ago

mujx commented 5 years ago

Example usage:

$ cmake -H. -Bbuild -DQHOTKEY_EXAMPLES=ON
$ cmake --build build

And to install the library

$ cmake --build build --target install
Skycoder42 commented 5 years ago

Maybe I just can't find it, but what about: LIBS += -luser32 (See qhotkey.prc) for windows? I think I can see you linking to carbon for osx and x11/extras for linux, but I can't find user32