Question on the script generator from a curious guy!

Discussion forum for contributors and developers who are using the QCAD ECMAScript development platform or the C++ plugin interface or who are otherwise looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Post Reply
neFAST
Newbie Member
Posts: 4
Joined: Tue Jan 08, 2019 10:29 pm

Question on the script generator from a curious guy!

Post by neFAST » Tue Jan 08, 2019 10:45 pm

I just discovered QCad from a friend and it looks like a solid and great piece of software!
I was looking at the console and the fact that Qt Object are wrapped in the ECMA engine.

From what I understand, old Qt owners (trolltech) used to distribute a qt-script-generator responsible for creating the project that are committed under https://github.com/qcad/qcad/tree/master/src/3rdparty

Is it how where those "generated_cpp" comes from? Is the script-generator commited anywhere else?

Thanks in advance for your help!
Regards
nF

neFAST
Newbie Member
Posts: 4
Joined: Tue Jan 08, 2019 10:29 pm

Re: Question on the script generator from a curious guy!

Post by neFAST » Thu May 30, 2019 7:54 am

Is that a sensitive/tough topic?

User avatar
andrew
Site Admin
Posts: 6357
Joined: Fri Mar 30, 2007 6:07 am

Re: Question on the script generator from a curious guy!

Post by andrew » Thu May 30, 2019 10:13 am

neFAST wrote:
Tue Jan 08, 2019 10:45 pm
Is it how where those "generated_cpp" comes from?
Yes.
neFAST wrote:
Tue Jan 08, 2019 10:45 pm
Is the script-generator commited anywhere else?
Not that I'd know.
neFAST wrote:
Tue Jan 08, 2019 10:45 pm
Is that a sensitive/tough topic?
No, just not very relevant for the vast majority of QCAD users / developers ;)

neFAST
Newbie Member
Posts: 4
Joined: Tue Jan 08, 2019 10:29 pm

Re: Question on the script generator from a curious guy!

Post by neFAST » Fri May 31, 2019 9:12 am

Thanks a lot for your reply.
I can imagine most of QCAD users don't care.
Reason I asked is that I had played with the qtscriptgenerator and Qt4 a while back, and when moving to Qt5 projects I hard a hard time trying to compile it.
I had found this phbaer guy who forked the repository from shibukawa, but still I could manage to make it work with my Qt5 setup.

User avatar
andrew
Site Admin
Posts: 6357
Joined: Fri Mar 30, 2007 6:07 am

Re: Question on the script generator from a curious guy!

Post by andrew » Wed Jun 05, 2019 10:19 pm

You can find the Qt script bindings we're using for QCAD under:
https://github.com/qcad/qcad/tree/master/src/3rdparty

neFAST
Newbie Member
Posts: 4
Joined: Tue Jan 08, 2019 10:29 pm

Re: Question on the script generator from a curious guy!

Post by neFAST » Tue Jun 11, 2019 8:07 am

Hello Andrew. I foudn the QtScript bindings but I was wondering which qt-script-generator generated those projects.
Last time I tried the fork from shibukawa it would not properly run with Qt5.7+

Post Reply

Return to “QCAD Developers and Contributors”