I'm playing with writing a new plugin and I'm having some basic problems (perhaps just doing something wrong with my QT usage??)...
The first problem I'm trying to solve is why I'm not getting signals from QTimer::timeout and also not getting QObject::timerEvent() called on my base object.
I stripped my code down to a bare-bones demo, which should easily show the problem.
The calls to 'connect()' succeed, so it's not a connection thing.
Additionally, I've proven that I *am* getting signals/slots connected and firing -- but seemingly not across threads or from QTimer?
I'm new to QT, so I find this a bit baffling.
Could anyone please take a look and see if they can spot something obvious that i'm doing wrong? This seems like it shouldn't be a blocker...
Here's the very simple plug to demonstrate the timer problems: https://github.com/ukee-jim/obs-testplugin This plug is based off the template supplied at https://github.com/obsproject/obs-plugintemplate
ANY help greatly appreciated!
The first problem I'm trying to solve is why I'm not getting signals from QTimer::timeout and also not getting QObject::timerEvent() called on my base object.
I stripped my code down to a bare-bones demo, which should easily show the problem.
The calls to 'connect()' succeed, so it's not a connection thing.
Additionally, I've proven that I *am* getting signals/slots connected and firing -- but seemingly not across threads or from QTimer?
I'm new to QT, so I find this a bit baffling.
Could anyone please take a look and see if they can spot something obvious that i'm doing wrong? This seems like it shouldn't be a blocker...
Here's the very simple plug to demonstrate the timer problems: https://github.com/ukee-jim/obs-testplugin This plug is based off the template supplied at https://github.com/obsproject/obs-plugintemplate
ANY help greatly appreciated!