Y
Hacker News
new
|
ask
|
show
|
jobs
by
mike_ivanov
3365 days ago
Is the wrapper C++ code generated or hand-written?
1 comments
therecipe
3365 days ago
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.
link
mike_ivanov
3365 days ago
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.
link
therecipe
3365 days ago
yes, the
.cpp
.h and *.go files are all generated
link
mike_ivanov
3365 days ago
I couldn't find the source code of that generator. It is not here, right? ->
https://github.com/therecipe/qt/
link
therecipe
3365 days ago
it's in the internal package:
https://github.com/therecipe/qt/tree/master/internal/binding
link
mike_ivanov
3364 days ago
It looks impressive. Thanks.
link