how to compile .ui files ?

Pupeno pupeno at pupeno.com.ar
Sun Oct 14 06:25:05 BST 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I' m using KDevelop, I have a directory full of .ui files.
The Makefiles generated by KDevelop doesn't work, they don't even try to run 
uic to generate the needed files. So, I'm using another Makefiles, in fact, 
this a project I'm porting from KDEStudio to KDevelop, and that directory is 
intact from KDEStudio because I couldn't make it work with KDevelo, how 
should I do it ?
Another problem I have, I don't know if it is related to the last problem or 
not. When linking my program I get this error (this is just a part, I get 
lots of them):

/widgets/libwidgets.a(kxstatusmessagedialogimpl.o): In function 
`QArray<char>::~QArray(void)':
/usr/lib/qt2/include/qbutton.h(.text+0x24): undefined reference to 
`kxStatusMessageDialog::kxStatusMessageDialog(QWidget *, char const *, bool, 
unsigned int)'
./widgets/libwidgets.a(kxstatusmessagedialogimpl.o): In function 
`kxStatusMessageDialogImpl::kxStatusMessageDialogImpl(unsigned int, int, 
QWidget *, char const *, bool, unsigned int)':
/home/pupeno/src/icq/kxicq/kxicq/widgets/kxstatusmessagedialogimpl.cpp:50: 
undefined reference to `kxStatusMessageDialog::kxStatusMessageDialog(QWidget 
*, char const *, bool, unsigned int)'

kxstatusmessagedialogimpl.o is made from kxstatusmessagedialogimpl.cpp (and 
.h) which holds the class kxStatusMessageDialogImpl. kxStatusMessageDialog is 
the class generated by kxstatusmessagedialog.ui (generating the .moc, the .h 
and .cpp automaticaly as I explained at the begining of the mail). 
kxStatusMessageDialog is defined and implemented in the .h and .cpp files 
because I've read it. So, I don't know what is the problem here. The line 
that makes the error (the last one), is this:

kxStatusMessageDialogImpl::kxStatusMessageDialogImpl( UIN _uin, int _status, 
QWidget* parent,  const char* name, bool modal, WFlags fl )
    : kxStatusMessageDialog( parent, name, modal, fl )

is strange, that the error appears in this line and not in this one: 

kxStatusMessageDialogImpl::kxStatusMessageDialogImpl( UIN _uin, char *_msg, 
QWidget* parent,  const char* name, bool modal, WFlags fl )
    : kxStatusMessageDialog( parent, name, modal, fl )

which is before the other one.
Well, I tryed everything I know but I'm not an expert programmer and I don't 
know what else to try... I'll apretiate any help.
Thank you!
Peace and love!
- -- 
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7ySG4WhjnmGRO4vQRAgfKAJ95gman83tzKBFSZVNhwlncDOSYGwCeMRPE
6hvl5V5A3Hr/DJLxcVQxiEE=
=jMSV
-----END PGP SIGNATURE-----

-
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