← All bug reports

FS#2255Script bindings not available for Qt version 6.1.1

Type
Bug
Status
Closed
Resolution
Not a bug
Category
QCAD Community Edition
Severity
Low
Priority
Low
Reported version
3.26.4
Operating system
Windows 10
Reported
2021-06-27 by rpurohit15
Closed
2021-06-28 by andrew

:-1: error: Script bindings not available for Qt version 6.1.1. You can add them to src/3rdparty/qt-labs-qtscriptgenerator-6.1.1 or use another version of Qt.

:-1: error: [Makefile:64: sub-3rdparty-make_first-ordered] Error 3

I cloned QCADsource code from Github and was trying to build source code from qt creator community version but got the above errors.

Comments (3)

zebra 2022-02-24

@Andrew I would like to kindly ask for information on that topic. According to google scripts are deprecated in Qt6
However your github has several commits related to Qt6, are you going to drop scripting?
Have a great day

andrew 2022-02-24

No, we're currently porting to the new QJSEngine in Qt 6. However, this is a more involved undertaking that is expected to take us several months.

zebra 2022-02-24

Wow, this is both a great news and also quite a surprise that Qt's team replaced QtScript with a solution that requires months of work to port the code. Shame on them.

Closure comment

Please compile against Qt 5.x. Qt 6.x is not supported at this point.