I have just added a new article about using libclang to discover information about C++ classes, in particular QObject classes. The article describes the approach I took to find special Qt keywords, such as signals and slots. Look under Articles->Clang.