查看完整版本: [-- 不要升级Qt5.12.6!!! --]

QTCN开发网 -> Qt基础编程 -> 不要升级Qt5.12.6!!! [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

liulin188 2019-11-17 13:20

不要升级Qt5.12.6!!!

QJSEngine,执行call会崩溃
同样的js,Qt5.12.5执行没事,升级到5.12.6会崩溃在call里,想用debug模式去调试,但是debug模式又不崩溃,你说气人不。。。
不知道Qt在搞什么东西,这么不稳定的,

liulin188 2019-11-17 14:54
Qt13.2也是一样,蛋疼的很

liulin188 2019-11-17 17:47
看了下changes files
Qt5.12.6
- [QTBUG-77761] Fix loading of EcmaScript modules when using the Qt Quick Compiler.
- [QTBUG-77954] Fix parsing errors when using a semicolon after an object literal in property bindings.
- [QTBUG-76866] Fix crash with null value type objects.
- [QTBUG-74087] The JavaScript engine will parse lists iteratively now, using less stack space. This allows for more complex JavaScript to be parsed.
Qt5.13.2
- [QTBUG-77761] EcmaScript modules are loaded correctly now when using theQt Quick Compiler.
- [QTBUG-74087] Various JavaScript list-like constructs are parsediteratively rather than recursively now, avoiding stack overflows.
- [QTBUG-78554] Exceptions thrown from a promise's resolve or rejecthandler are forwarded correctly now.
- [QTBUG-78996] MakeDay() and getDay() now behave more correctly.

估计是修复bug的时候引发了新的问题。。。

圣域天子 2019-11-18 12:13
昨天刚升~~~
还好我是受不了QJSEngine,太弱,不用它的。
有其它BUG也及时说说啊~~~

liulin188 2019-11-18 13:56
圣域天子:昨天刚升~~~
还好我是受不了QJSEngine,太弱,不用它的。
有其它BUG也及时说说啊~~~[表情] [表情]  (2019-11-18 12:13) 

用的什么库,推荐一下

uidab 2019-11-19 07:42
幸好不用。

圣域天子 2019-11-19 09:49
liulin188:用的什么库,推荐一下 (2019-11-18 13:56) 

从08年开始内嵌的脚本都是用Lua的。
虽然中途考虑过同时支持JS,但尝试过多次后,终因JS太弱没有采用。

liulin188 2019-11-19 14:50
圣域天子:从08年开始内嵌的脚本都是用Lua的。
虽然中途考虑过同时支持JS,但尝试过多次后,终因JS太弱没有采用。 (2019-11-19 09:49) 

lua和js不能比啊,应该和python,perl比

圣域天子 2019-11-19 18:29
liulin188:lua和js不能比啊,应该和python,perl比[表情] (2019-11-19 14:50) 

啥意思?作为嵌入式脚本,Python在性能上没有任何优势啊

hitler++ 2019-11-29 21:01

fsu0413 2019-12-04 07:48
bugreports.qt.io
这个才是你报告问题的地方

论坛里只能提建议,基本不会对Qt产生任何影响。


查看完整版本: [-- 不要升级Qt5.12.6!!! --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled