Open justincormack opened 11 years ago
On 6 January 2013 20:27, Justin Cormack notifications@github.com wrote:
I get build errors:
This is using the version of clang that ships with Ubuntu 12.10 (3.0 I think). Do I need a more recent version?
Hmm, I built it using clang 3.1, unfortunately these weren't available before. If the values are not essential to you, remove them (cases in cursorKindStr and clang_getDiagnosticCategoryText and l_arguments) and recompile.
I made a tiny patch here https://github.com/justincormack/luaclang-parser to work with the Ubuntu 3.1 PPAs and thats working fine.
I am giving a short talk about using this to generate bindings next week. If you have any tips that would be useful. I must look through your qt binding code in more detail too.
Please issue a pull request and I will merge it, the change seems trivial and special enough not to influence anything important.
Regarding the binding code, there is actually no binding done yet using luaclang-parser
, however there is some special logic in qt4-qobjectdefs-injected.h
to recognize Qt signals and slots. lqt uses a custom C++ parser which outputs XML and a custom generator dealing with various kinds of C++ magic. The code looks a bit ugly, if there is anything you'd like to know just ask.
I get build errors:
This is using the version of clang that ships with Ubuntu 12.10 (3.0 I think). Do I need a more recent version?