Details
Description
Signal parameters of type QVariant are not passed to connected script function
1. Create a QObject subclass with a signal having a parameter of type QVariant
2. Create an object of the class and register it to QScriptEngine via newQObject
3. In a script declare a function and connect it to the signal
4. When the function is invoked via the signal the parameter is undefined
It workes in Qt 4.4.
It DOESN'T work in Qt 4.5
Attached is a sample program to demonstrate the problem. Please compile it with Qt 4.4 and 4.5 respectively and see the difference in output.