From: Joachim E. <joa...@gm...> - 2011-10-31 20:53:16
|
Hi Stephan, At the moment there is no export of diff results. If a line by line diff is sufficient then I recommend a command line tool like GNU diff or similar. Probably OSX also provides something. Yes, KDiff3 is based on Qt. If you want to compile I assume the procedure is similar for Mac as for other systems. - Download and install Qt-version for Mac. (Possibly setup paths) - cd into the kdiff3/src-QT4 subdir - qmake kdiff3.pro - make But also check this: http://doc.qt.nokia.com/latest/qmake-platform-notes.html For exporting: The data containing the diffs is structured via Diff, DiffList, Diff3Line, Diff3LineList (see src-QT4/diff.h). Joachim > Dear List, > > I’ve just discovered KDiff3 and I am excited about the quality of the > results! There’s one question I have, though: > > I plan on using the tool for comparing literary text files (multiple german > translations of the same english source text) – storing the results to a > database for visualizations, so I am really interested in the underlying > data KDiff3 uses to display its resluts (and don’t really want to merge > the files). Is there a way to get the reports from the command-line > version in whatever markup format? (XML, text-based etc.) How complicated > would it be to modify the existing source of the application to export the > differences without displaying GUI? > > I have just quickly looked into the source code (I only have beginner-level > C++ skills..) and have failed setting up the KDiff3 project on a Mac to > compile correctly (from within XCode). Also, I realize the inner workings > of the KDiff3 app are really dependent on Qt – is that true? > > Thanks for your help! > > Best regards, > Stephan > > > --------------------- > www.stephanthiel.com |