Skycoder42 / QHotkey

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

Hotkey is invalid on ubuntu18.04 #93

Open swkee opened 9 months ago

swkee commented 9 months ago

QHotkey version:1.5.0 on ubuntu 18.04, qt5.15.8 1,Compiling project, unable to display app。 then modify code as below: ...... Display *display = QX11Info::display(); if(display ){ display = XOpenDisplay(NULL); } after that, i can run the app, but shortcut didn't work.