Bug 57170 - header file from ui file not built automatically
Summary: header file from ui file not built automatically
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 23:47 UTC by Holger Schröder
Modified: 2003-07-28 00:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
this is the output of the message window from the make process, when it fails for the first time (52.29 KB, text/plain)
2003-04-12 23:51 UTC, Holger Schröder
Details
this is the output from the second run (2.43 KB, text/plain)
2003-04-12 23:53 UTC, Holger Schröder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Schröder 2003-04-12 23:47:58 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Gentoo Packages

Hi,

i have the following problem: i have created a project with gideon(actual cvs version from this week), and for some reason, after i make distclean and after that automake, configure, make, the make process forgets to create a .h file from a .ui file.

my project is rpclient.
the file names for me are:

rpclient/src/rphauptmenubase.ui (the ui file)

as i am subclassing from this class, i need the three files:
rphauptmenubase.cpp
rphauptmenubase.h
rphauptmenubase.moc

when i check if these files exist, they do exist, but it seems as if they are built too late in the building process, as the rphauptmenubase.h file does not exist, when it is needed by rphauptmenu.h from rpclientview.cpp.

when i run the build process a second time by pressing F8, it finishes successful, as the file exists already, when it is needed this time.

i will attach the first and the second output of the message window, so that you can see, what exactly is going on.

thanks, Holger
Comment 1 Holger Schröder 2003-04-12 23:51:36 UTC
Created attachment 1351 [details]
this is the output of the message window from the make process, when it fails for the first time
Comment 2 Holger Schröder 2003-04-12 23:53:39 UTC
Created attachment 1352 [details]
this is the output from the second run

as you can see, the second run finishes successfully, as the needed .h file is
created later in the first run.
Comment 3 Jens Dagerbo 2003-07-14 19:53:14 UTC
Yeah, this happens. :( 
 
Can this be fixed in autoproject, or do we just point the finger at the build system? 
Comment 4 Alexander Dymo 2003-07-28 00:37:36 UTC
I see no way to fix it in autoproject - it's a build system bug. Closing.