jbb at kdevelop.org
Thu Oct 19 09:59:39 UTC 2000
On Wed, 18 Oct 2000 20:57, you wrote:
> John Birch wrote:
> > Hi Ralf,
> > >From Changelog
> > * dependency problem still unsolved as ui files get processed at the
> > end of compiling which causes
> > a problem if the header is included before...anyone a clue how to fix
> > that ? (this is for all templates)
> > What's this problem? am_edit should build the rules correctly for this?
> > What do I have to do to see the error?
> > jbb
> > /me has only just woken and updated kdevelop 1.2 - so haven't seen what
> > you've done.
> The problem is if you add a ui file with designer and want to integrate
> it - e.g. a wizard or a dialog, you have to #include its header file
> somewhere in the code of other cpp files.
> -> even though the ui file is added in front of all sourcefiles in the
> _SOURCES line, the header and implementation file get generated after
> all normal cpp file are compiled. -> we need to change am_edit or
> whatever so that ui files get compiled first, at least all header files
> get generated before any cpp file is compiled (when the headers are
> there it´s equal which cpp file gets compiled first)
Somethings wrong here - this is working elsewhere I'm sure. I'm assuming you
have the latest am_edit?
I almost have you're new kdevelop1.2.1 compiled. I'll create a kde2 app and
give it a go.
> See the problem now ? Would be glad to know any solution. I thought
> about having a look at some code in MAIN where designer files are
> already used to see how to get around that. Or does this problem not
> occur when you add an #include somewhere for a header that doesn´t exist
> yet and am_edit magically changes the compilation order ?
More information about the KDevelop-devel