<div dir="ltr"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, 7 Nov 2018 at 12:51, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com">rjvbertin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday November 07 2018 12:33:35 Steve the Fiddle wrote:<br>
<br>
>If this is just a setup problem, and anyone can help me get KDevelop to to<br>
>parse the Audacity code reasonably well (<br>
><a href="https://github.com/audacity/audacity" rel="noreferrer" target="_blank">https://github.com/audacity/audacity</a>), then I'd be happy to write up some<br>
>documentation for KDevelop (I write some of the documentation for Audacity).<br>
<br>
It depends considerably on your local set-up, and your platform because of wxW . I have these defines configured:<br>
<br>
WXUSINGDLL=1<br>
_FILE_OFFSET_BITS=64<br>
__WXGTK__=1<br>
<br>
and the following custom include paths:<br>
<br>
1=/opt/local/libexec/wxWidgets/3.0/include/wx-3.0<br>
2=/opt/local/libexec/wxWidgets/3.0/lib/wx/include/gtk2-unicode-3.0<br>
<br>
(all copied directly from my audacity/.kdev4/audacity.kdev4 settings file).<br>
<br>
You can set these via the project settings dialog in KDevelop.<br>
<br>
I'm guessing that you could get the wx-related defines and paths from wx-config, so if KDevelop supported (supports?) shell expressions in its settings files you could (almost) write a template .kdev4 file. Almost, because typically you have to know which wx-config script to use...<br>
<br>
R.<br></blockquote><div><br></div><div>Just a quick update,</div><div><br></div><div>Thanks to help from René, I've now got KDevelop working much better with the Audacity code. It's still not perfect, but it is now much more usable. The improvements came from modifying the "defines" and "custom includes paths" (as René suggested). I'm still not sure that I really understand how to use these properly, and the manual is rather sparse about this feature. Setting this up was extremely time consuming because it takes so long to re-parse the project before the effect of the changes can be seen.</div><div><br></div><div>I'll have another bash at configuring the project when I update Ubuntu, but it's good enough for now :-)<br></div><div><br></div><div>Thanks for your support guys.</div><div><br></div><div>Steve<br></div><div><br></div><div> </div></div></div></div></div>