introduced macros for string conversion between Qt and libgit2