kdevelop and qt designer
bernd.pol at online.de
Tue Sep 9 12:57:57 BST 2003
On Tuesday 09 September 2003 10:38, williams ray wrote:
> --- Bernd Pol <bernd.pol at online.de> wrote:
> > The missing members are declared in mywindowbase.h
> > which kdevelop should have
> > automatically generated from mywindowbase.ui
> > (actually qt designer does).
> > Just include it in mywindow.
> > Bernd
> do you mean include every missing member by my hands?
> i find it still not comfortable....... or maybe i
> still miss something.
Not at all. If everything runs right all declarations should be readily there
in the mywindowbase.h file, provided you named everything in mywindowbase.ui
correctly. If for instance you use QtDesigner to set up a dialog which
contains a myButton pushbutton entry, then
- in Qt Designer select the pushbutton picture
- select Name in the Properies table which QTDesigner now shows up and enter
myButton in the Value filed
- close QtDesigner and return to KDevelop, there build the project
- check the build directory, a mywindowbase.h file must be there
- check mywindowbase.h, it should contain a declaration like
So all you need to do is to include mywindowbase.h in your mywindow.cpp. Any
change - additional elements, deletions, renames - in the mywindowbase.ui
will automatically be reflected after the next project build. No extra
fiddling needed at all.
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
More information about the KDevelop