QTDesigner / UI files and build order

Bernd Lachner blachner at gmx.de
Thu Jul 8 11:56:11 BST 2004


Hello,

I have some trouble with QTDesigner files and the build order. 

E.g. I have a 

TestDesign.ui

from which the following files are generated:

TestDesign.h
TestDesign.cpp


The file TestDesign.h is included in Test.h and Test.h is included in
Test.cpp. If I now build the project, Test.cpp is compiled before
TestDesign.h/.cpp is generated via uic. This gives some compiler errors,
because TestDesign.h is missing. If I compile it a second time, all is
working.

I tried to add Test.h/Test.cpp to the "List od subclasses" of TestDesign.ui
with the automake manager. But it seems it don't help.

How can I tell KDevelop that Test.h/Test.cpp depends on
TestDesign.ui/.h/.cpp? How can I tell KDevelop that it must first build the
ui files with uic?

The option "automatically compile metasources" on the "options->includes"
tab of the subproject is already checked.

Btw. I use KDevelop 3.0.4. The problem I described only occurs if I dist
clean the project an build it new. The project where this error occurs was
converted from a KDevelop 2.1 project file.


-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list