Open
Description
This is the code I use for creating the hotkey:
d_hotkey = new QHotkey(Qt::Key_Print, Qt::NoModifier, true, this);
qDebug() << "Is registered:" << d_hotkey->isRegistered();
It is printing true, but however many ways I try to connect the signal to a slot, it just doesn't work.
It either prints:
qt.core.qobject.connect: QObject::connect: signal not found in QHotkey
or straight up doesn't do anything.
I'm on a Windows system.
Any ideas why this could be?