Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.11.0
-
None
-
0a2aaee61cfc2888bc71f54ac5b165d248cbf5e8
Description
Hello,
When trying to upgrade from Qt 5.9 to Qt 5.11, with qtquickcompiler enabled, I faced a strange situation where the following code does not work properly:
.pragma library .import "TimerFactory.js" as Timers // ... Timers.setTimeout(function() { resolve(arguments) }, value.__delay);
It gives the error "ReferenceError: Timers is not defined".
I don't have this error when I disable qtquickcompiler. I still have it when I change the import to have a full path with "qrc:///" for example.
Any idea?
Regards,
Louis