Extremely frustratnig problems with Qt/Qt Designer/Kdevelop...

Ivica Bukvic ico at fuse.net
Mon Mar 25 16:46:08 GMT 2002

On Mon, 2002-03-25 at 09:57, Harald Fernengel wrote:
> Hi,
> > 1) What in the world am I supposed to do to get rid of these references
> > to *doc.h/.cpp/.moc and *view.h/.cpp/.moc which make me every time
> > manually change the makefile in order to be able to compile my app,
> > despite the fact they are completely deleted and all references from
> > other files have been removed?
> The standard KDE App-Template features a document-view architecture which most 
> modern apps use. If you don't know what it is or don't like it, please use 
> the KDE Mini Template.
> > 2) How can I re-align my widget so that it appears propely below the
> > toolbar, not under it (here I am talking about the toolbar that has
> > file, edit and all that junk and is KDevelop/KDE-made)?
> Please read the documentation and do the tutorials first. Try starting with a 
> KDE mini Application and develop it step by step, then you'll see how 
> layout-managers and widgets work.
> > 3) What is up with this .ui bug that messes up the import of .ui files
> > into the project?
> Don't know, cannot reproduce it. Upgrade to a recent KDevelop version and if 
> it still crashes please post a backtrace and a full bug report.

First off, thank you for your reply.

The app does not crash, just when I try to compile it it compiles fine
all the way and in the last linking it reports "lib..a missing". Hence
an error...

At that point even if I remove .ui file, the project remains trashed.

> > 4) Where are all the QT Designer advertised wizards that are supposed to
> > be available for one to choose as the starting building block for the
> > app?
> In version 3.x and since you are using Qt 2.3.x -> no wizards for you.

Yet the documentation for 2.3.x shows a screenshot with at least 4 or 5
wizards... (like window with buttons and stuff like that)... Maybe I am
mislabeling them as wizards, maybe they are just widgets with stuff on
them already. Still, even those are missing.

On top of that, the crashing refers to when I add KToolbar to any form
in Qt Designer and try to alter its name... Works like a charm every

> > 5) How do I make my included Class resize appropriately with the change
> > of the KDE window size?
> Look at point 2. Try experimenting a bit with layout-managers and widgets. 
> Basically, you have to embed every widget in a layout-manager if you want it 
> to be resizable.
> There are also tons of examples included in Qt/KDE, just take a look how they 
> do it.

My Qt Designer widget resizes just fine, it's when I put it int the KDE
context that it gets all messed up... But that is most likely due to
that document view stuff...

> Happy hacking,
> Harry

Thank you!


Ivica Bukvic

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

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