PDA

View Full Version : Qtscript - corrupted arguments



starlon
23rd December 2009, 08:01
I'm providing a QObject to a script engine, which has one public slot for javascript to access. When I access this method the arguments come out all corrupted.

For instance:

value: 0.000000, dev: 5, key: A��, delay: 500

Should be:

value: 0.000000, dev: sd., key: read_sector, delay: 500

That's value=return_value, dev=arg1, key=arg2, delay=arg3

What might cause this?