Generating QtScript bindings for Qt5

Aleix Pol aleixpol at
Mon Jul 25 23:06:39 BST 2016

On Mon, Jul 25, 2016 at 11:37 PM, R.Harish Navnit
<harishnavnit at> wrote:
> Hi,
> 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 ?
> I have considered using some unofficial Qt5 ports[1][2] 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
> repos.[3]
> What's the best fix/workaround to this ? Any suggestions ?
> [1]
> [2]
> [3]
> Regards,
> Harish

Hi Harish,
What are you trying to do? What do you need it for?

I'd recommend against adopting anything using QtScript, as it's deprecated.


More information about the kde-core-devel mailing list