Comment 16 for bug 1467316

Revision history for this message
Wjosdejong (wjosdejong) wrote :

@Bartosz No idea, just a guesst. I tried to run your code from #11 via the Qt editor, that throws an exception:

    file:///home/jos/tmp/test7/math.js:117 Expected token `identifier'

So I was just wondering how you guys get this code running at all... All I can think of (not being familiar with Qt) is we have different versions of stuff, or different project settings or something like that. I'm running Linux Mint 17.2 64-bit, qmlscene 5.2.1.

Besides that, when I change line 117 from `math.import(....)` to `math['import'](...)` I can run the code.

@Marco thanks. I run your loop starting the code 20 times, click the text, and close them one by one. Just works fine.