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
Question on the script generator from a curious guy!
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: Question on the script generator from a curious guy!
Is that a sensitive/tough topic?
Re: Question on the script generator from a curious guy!
Yes.
Not that I'd know.
No, just not very relevant for the vast majority of QCAD users / developers
Re: Question on the script generator from a curious guy!
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.
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!
You can find the Qt script bindings we're using for QCAD under:
https://github.com/qcad/qcad/tree/master/src/3rdparty
https://github.com/qcad/qcad/tree/master/src/3rdparty
Re: Question on the script generator from a curious guy!
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+
Last time I tried the fork from shibukawa it would not properly run with Qt5.7+
Last edited by neFAST on Sat Oct 03, 2020 12:18 pm, edited 1 time in total.
Re: Question on the script generator from a curious guy!
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
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