Antwort: Question about p4
Jost-Martin Langner
jost-martin.langner at philips.com
Tue Apr 12 07:12:40 BST 2005
Hallo Phil,
the *.moc.cpp and *.moc.o files are produced / handled by the Qt Meta
Object Compiler. They are generated from the header files which you define
your classes in. So it is safe to delete them all. In this case the MOC is
"forced" by the makefile to re-generate them anew (provided your makefile
is correct).
If you look at the files mapvid.moc.cpp and mapvid.moc.o, I guess you will
see that they have been generated _before_ you started to port to KDE
3.2.3. Therefore there is some reference to old code (MapVid::paintEvent)
that you intended to remove (indicating that your makefile might not be
completely correct, and shoud be re-generated as well).
Hope it works.
Best regards,
Jost
Phil <phil at spiderweb.com.au>
Gesendet von:
Mailing list agent <mdom at barney.cs.uni-potsdam.de>
11.04.2005 14:08
Bitte antworten an kdevelop
An: kdevelop at kdevelop.org
Kopie: (Blindkopie: Jost-Martin Langner/ACN/LIGHTING/PHILIPS)
Thema: Question about p4
Klassifizierung:
Hello,
I recently upgraded KDE to 3.2.3 and Kdevelop to 3.0.4 and now I'm having
problems compiling many of my old projects. I don't know if this because
of
an error on my part, a bug or a missing library of some sort.
One area that is causing me a real problem is this:
I created a dialogue with Qt Designer that included a custom widget. I
then
deleted the custom widget and saved the new dialogue files that Qt
Designer
created. The .cpp and .h files generated by Qt Designer do not contain any
reference to the custom widget yet Kdevelop displays this error message:
mapwid.moc.o(.gnu.linkonce.r._ZTV6MapWid+0x148):/home/phil/pesc/debug/src/mapwid.moc.cpp:36:
undefined reference to `MapWid::paintEvent(QPaintEvent*)'
MapWid is the custom widget. How do I update the project to show that
mapwid
is no longer included in the project?
Does the following message mean that I'm missing something called "p4"? If
so
where do I find it? A google search has not helped.
/bin/sh: line 1: p4: command not found
--
Regards,
Phil.
-
to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20050412/99afaaa3/attachment.html>
More information about the KDevelop
mailing list