5 ms·
Is the wrapper C++ code generated or hand-written?
by mike_ivanov 10y ago
Is the wrapper C++ code generated or hand-written?
- therecipe 10y agoit'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 10y agoI couldn't find the source code of that generator. It is not here, right? -> https://github.com/therecipe/qt/ https://github.com/therecipe/qt/
- therecipe 10y agoit's in the internal package: https://github.com/therecipe/qt/tree/master/internal/binding https://github.com/therecipe/qt/tree/master/internal/binding
- mike_ivanov 10y agoIt looks impressive. Thanks.
- mike_ivanov 10y agoTo clarify myself, I wondered if the wrapper code is generated (like here https://github.com/therecipe/qt/blob/master/websockets/websockets.cpp https://github.com/therecipe/qt/blob/master/websockets/webso...), not the moc-generated code.
- therecipe 10y agoyes, the .cpp .h and *.go files are all generated