I am trying to create a "pretty" diff tool that uses the GNUWin32 diffutils. Color a lines that differs between two versions of the same file, another color for added lines to a file etc. I am not sure how to approach using the GNU tool within a QT4 program. I have a simple GUI, but I do not have any ideas about how to invoke the "diff" command of the tool OR how to use the output that the diffUtils will return.
I am developing for Windows, which "diff -y <directory1> <directory2>" in a dos shell produces an output like this:
code1.JPG
where the "|" says that the lines are different , and ">" says that a line has been added to the file on the right.
First Post, feeling the water (please be gentle)
Bookmarks