Skycoder42 / QHotkey

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

SIGSEGV on Fedora (Wayland) #43

Closed olegantonyan closed 4 years ago

olegantonyan commented 4 years ago

I'm using QHotKey in my project (https://github.com/olegantonyan/mpz/) and trying to make it work on most popular Linux distros. So far it works fine on openSUSE (my workstation) and Ubuntu. But on Fedora I got SIGSEGV upon initialization. Here's a screenshot from QTCreator under Fedora 32: https://yadi.sk/i/GLekPj-yX7i0LA

The rest of the app works fine if I remove QHotKey initialization. Any ideas how to fix this?

QHotKey 1.4.1, same problem was with 1.2.2

UPDATE Switching off wayland seems to work. But How to check if wayland is active at runtime so I can skip qhotkey initialization?