I've injected into a proprietary Qt (4.5.2) application, added my own compatible build of QtScript, and have managed to get access to all the signals I need. However, when connecting to them (via QtScript) my functions are never called.
I've come up with a few theories for why this is and I've tested everything I can think of, but I've hit a bit of a wall. Note, I've never had any connection exceptions whatsoever. Here are my current theories:
- The signals I'm connecting to are already connected to other slots, and that's somehow blocking it (but as far as I know, all Qt signals fire to all slots with no extra work, and can't be restricted in this way)
- The signals are rejecting my connection, or disconnecting me after connection (but I see no facility for this)
- My connection is happening from another thread, and this is somehow causing it not to connect properly
Are any of these theories plausible? If not, what have I missed?