Skycoder42/QHotkey

SIGSEGV on Fedora (Wayland)

Closed this issue · 0 comments

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?