Page 1 of 1
Question on the script generator from a curious guy!
Posted: Tue Jan 08, 2019 10:45 pm
by neFAST
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
Re: Question on the script generator from a curious guy!
Posted: Thu May 30, 2019 7:54 am
by neFAST
Is that a sensitive/tough topic?
Re: Question on the script generator from a curious guy!
Posted: Thu May 30, 2019 10:13 am
by andrew
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
Re: Question on the script generator from a curious guy!
Posted: Fri May 31, 2019 9:12 am
by neFAST
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.
Re: Question on the script generator from a curious guy!
Posted: Wed Jun 05, 2019 10:19 pm
by andrew
You can find the Qt script bindings we're using for QCAD under:
https://github.com/qcad/qcad/tree/master/src/3rdparty
Re: Question on the script generator from a curious guy!
Posted: Tue Jun 11, 2019 8:07 am
by neFAST
Hello Andrew. I found 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+
Re: Question on the script generator from a curious guy!
Posted: Sat Oct 03, 2020 12:18 pm
by neFAST
Hi Andrew, I know I'm kinda off topic here. I'm finally moving to Qt5 and still wondering if you maintain Qt-script-generator or if you work from the generated projects themselves.
I found a Python wrapper project that seems to continue working on the script-generator originally from Trolltech, I believe this could soon become useful with Qt6 dropping QtScript
https://github.com/MeVisLab/pythonqt/tr ... /generator