Crossplatform Global HotKey for Qt5.1 and higher
You have to download library to specials folder in your project. For example, name of folder is "QGlobalShortcut". And include this .pri project in your .pro file.
include(QGlobalShortcut/qglobalshortcut.pri)