Re: Generating QtScript bindings for Qt5
- Date: Mon, 25 Jul 2016 17:55:25 -0700
- From: Thiago Macieira <thiago@xxxxxxx>
- Subject: Re: Generating QtScript bindings for Qt5
On terça-feira, 26 de julho de 2016 03:07:09 PDT R.Harish Navnit wrote:
> In Qt4, we had qtscriptgenerator which helped in generating Qt
> bindings, which are needed to import qt extensions to QScriptEngine
> etc. However, AFAIK this hasn't made it to Qt5 or at least there, is
> no official release yet.
> Can anyone point me to or show me how one can generate Qt script
> bindings in Qt5 ?
The same tool should work. QtScript API is unchanged in Qt 5.
> I have considered using some unofficial Qt5 ports of
> qscriptgenerator, but I faced errors while compiling/building them
> from source and they seem to be unmaintained too, since quite some
> time now. I have duly reported them as issues against the relevant
> What's the best fix/workaround to this ? Any suggestions ?
Build it with Qt 4. The library it links to has nothing to do with the input
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center