You are not logged in.

1

Thursday, March 10th 2005, 11:34am

KDevelop and subprojects

hello,

I got a problem with KDevelop,

I started a KDE Parts C++ Projects.
- I added a subproject called "gui_parts".
- I made a "lib/noinst" target with the automake manager.
- I added an "ui" file to this target and opened it with the KDesigner.
- I designed a simple widget, saved it and closed the designer.
- I created subclasses of the widget class with the sublassing wizard
- when I now try to compile the project I get an error that "widgetdlg.h" (as example; this should be the header file of the .ui file - which should be autogenerated) does not exist.

I had this problem earlier in another project. There I just moved the .ui, .cpp and .h file to the parent directory, compiled it and moved these files back. But I don't think it is normal to compile the files in the "root" dir of the project and move them back.
So my question is: has anyone an idea why it does not work? Or could anyone post me a simple kdevelop project with a class using gui elements in a subproject?

thx in advance,
stefan walkner

2

Sunday, March 13th 2005, 3:49pm

might it be possible that someone creates a simple kdevelop project with 2 KDesigner made widgets?
1 widget in the parent which makes use of a second in a subdirectory?

that would be very great!

thx in advance