[Ktechlab-devel] Fix for uic-generated headers problem

David Saxton david at bluehaze.org
Tue Jan 10 17:46:18 UTC 2006


Excellent :)

On Monday 09 January 2006 23:26, John Myers wrote:
> I've committed a fix to src/gui/oscilloscope.h which fixes the problem with
> not being able to find uic-generated headers.
>
> The fix: give the uic-generated header as relative path from the project
> root: #include "src/gui/oscilloscopewidget.h"
>
> Why this is necessary:
> kdevelop tells the build system to build in an alternate root, so you don't
> clutter up your sources, and so that you can have multiple configurations
> available to work on. That means uic sticks its output in there as well.
> The include path includes everything necessary to use all the source
> folders without path prefixes, but not the output folder. The fix is still
> really a workaround, but a lot cleaner than a bunch of ifdefs and silly
> extra functions and stuff I think.




More information about the Ktechlab-devel mailing list