Qt5Script is deprecated since 5.5, was only ever meant as a porting aid from Qt4, and should be ported away to QJSEngine. It is also a stepping stone to eventually port to Qt6, whenever that is possible.