HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by mike_ivanov | Hacker News Reader
Parent
Full thread
mike_ivanov
·
Is the wrapper C++ code generated or hand-written?
View on HN
therecipe
·
it's automatically generated against the Qt version you use when you run the setup. the generator is also used to power qtmoc and qtminimal.
mike_ivanov
·
To clarify myself, I wondered if the
wrapper
code is generated (like here
https://github.com/therecipe/qt/blob/master/websockets/webso...
), not the moc-generated code.
therecipe
·
yes, the
.cpp
.h and *.go files are all generated
mike_ivanov
·
I couldn't find the source code of that generator. It is not here, right? ->
https://github.com/therecipe/qt/
therecipe
·
it's in the internal package:
https://github.com/therecipe/qt/tree/master/internal/binding
mike_ivanov
·
It looks impressive. Thanks.
Reply on news.ycombinator.com