Version: (using KDE KDE 3.1) Installed from: SuSE RPMs For KDE Application (Other than mini) need to have a default .ui file, so that QT designer can be used to edit it and extend the main windows menu bar etc. Don't know how else you could to this, with out QT Designer. For example to add another tool bar, I'd use QT designer. Don't know how I would do this manually with out QT designer. Also, need to use uic in GUI. Is bug 44252 correct?? I have access to uic, but it nowhere in the GUI for Kdevelop is an option to complie the .ui file. So I think the resolution to 4452 is wrong. uic is on my system. Currently to use a ui developed from QT Designer, I can create a mini KDE application, mannually complie the .ui by shcelling out and using uic, then manually changing the base class to use the class from the .ui instead of qwidget. But then I don't get the KDE frame work. The GUI needs better support of QT designer.
Just add the ui file to your project and it will be compiled automatically (don't forget to rebuild the Makefiles by running configure and friends). KDE doesn't use Qt Designer's Toolbars/Menubars, check the developer documentation on how to use KDE's XML GUI.
Harald, What am I not making clear to you?? I realize that you could add the .ui to the project, but no where in the documentation does it cover how to modify the default main window to add tool bars etc. from QT designer. In other words how to add graphicall elements of the default main window main window in the IDE, and then use the IDE to generate the correct files. Currently IDE kicks out to QT designer, but that's about it. It doesn't seem to able to add the changes to the existing project, i.e. change the source so that when the project is built, the change in the GUI is reflected. This is a pretty basic operation of all moden GUI development tools. What are you talking about when you say "KDE doesn't use Qt Designer's Toolbars/Menubars, check the developer documentation on how to use KDE's XML GUI." The KDE Development users manual is very poor in this respect (section 4.3) It acccutal suggests using QT designer. I've also read the KDevelop Programming Handbook (Section 6.5) which suggest changing the inheritance of the base class. Which I did, but in order to get it to complie, you need to shell out to run uic, to create the correct .h and .cpp files. You really need to be more specific, because I really don't think you know what your taling about.
Subject: Re: Mark, i think Harald is well knowing of what he's talking. (Don't want to continue any flames). KDE has it's own way of creating menus and toolbars. Have a look at the class-documentation for KXMLGUIClient. Look at existing examples. http://developer.kde.org/documentation/library/3.1-api/classref/kdeui/KXMLGUIClient.html With a XML GUI one can not only change the GUI "on the fly", but you can merge multiple "parts" together into one UI. No need to recompile anything. Sascha