[Ktechlab-devel] Fix for uic-generated headers problem
John Myers
electronerd at electronerdia.net
Mon Jan 9 23:26:48 UTC 2006
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.
--
#
# electronerd, the electronerdian from electronerdia
#
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20060109/9a1eaf28/attachment.sig>
More information about the Ktechlab-devel
mailing list