Compile-errors after adding a new dialog to project

Matto Fransen kdevelop at zaphod.netserv.nl
Wed Dec 8 12:19:24 GMT 1999


Hello *, 

I am working on a project in Kdevelop. In this project I
have defined about 10 classess, of which 6 or so with
dialogwindows.
All works fine, building one step at a time.

I compiled the project-so-far into a working thingy,
then added a new dialog-class, put some widgets in it
an did a <build complete sources> of the dialog.
Recompiling and there are troubles in paradise ...

The compiler start complaining about a lot of syntax-errors 
in a lot of include-files. 
Strange and unexplanable, because these are the standard
qt-include-files which  haven't changed. 

I suspected therefor, that a quotation-mark <"> or an 
<#endif> or so is missing somewhere in the newly generated 
sources but I haven't been able to pinpoint such an error. 

The compile-errors start emerging when compiling an 
.moc.cpp-file.

I upgraded to the new KDevelop 1.0-1 :-) but this didn't
effect the strange errormessages. I did a new build complete
sources, this too had no effect. Also a complete rebuild
after deleting the .moc.cpp-file resulted in complaining
about syntaxerrors in the standard qt-includes :-(

I run RedHat 6.0 and have the following qt installed:

$ rpm -qa | grep qt
qt1x-1.44-4
qt-1.44-6
qt-devel-1.44-6
qt1x-devel-1.44-4

Any idea what my be causing this strange behavior,
anybody ?

-- 
Matto Fransen

matto at tradesystem.nl




More information about the KDevelop mailing list