You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
something that generates a compile_commands.json, in particular I use compdb since it is able to generate a compile_commands.json which has header files.
There is a bunch of stuff to improve - in particular a pass of clang-format will certainly be required afterwards - but overall it is able to go through most Qt code with Q_OBJECT, Q_PROPERTY, Q_SIGNAL, Q_SLOT, etc etc. It does not yet add W_OBJECT_IMPL to cpp files however - I guess some heuristic could be used for this but for now...
The text was updated successfully, but these errors were encountered:
Thanks for your script.
Perhaps you could make a merge request that adds it to a tools or contrib subdirectory.
Otherwise I guess i could put a link from the readme to your repository.
(Please add license header to your file, and short documentation in comments)
thanks ! yes, I will just work on it a bit more before making a pull request- ideally, a good test would be to be able to convert qt itself for instance.
Hello,
I've been working on a python script that leverages libclang to port my codebase to verdigris.
Since it may be useful to others, here it is : https://github.com/OSSIA/score/blob/master/tools/to_verdigris.py
It requires :
Usage :
There is a bunch of stuff to improve - in particular a pass of clang-format will certainly be required afterwards - but overall it is able to go through most Qt code with Q_OBJECT, Q_PROPERTY, Q_SIGNAL, Q_SLOT, etc etc. It does not yet add W_OBJECT_IMPL to cpp files however - I guess some heuristic could be used for this but for now...
The text was updated successfully, but these errors were encountered: