rc.cpp - make messages

Meinhard Ritscher unreachable at gmx.net
Fri Mar 23 17:45:45 GMT 2001


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

O.k, I think I found something - see below.

On Mon, 19 Mar 2001 16:11:40 +0000 (GMT), Meinhard Ritscher wrote:
>moving to an XMLGUI, following the tutorial on kdeveloper.kde.org wen't
>quite smoothly, once I got my head round. 
>But "make messages" fails.
>
>All I get is: no rule to make rc.cpp.
>Fair enough, there *is* no rule.
>Even if I try to make
>make messages in kwrite (in kdebase-pre.2.1-update) that's the only
>thing I get. 
>How to make this rc.cpp or what's the rule for it?
>

I now found out that the kdesdk package comes with a script 
"extractrc" 

So the Makefile should contain something along the lines:

EXTRACTRC = extractrc

rc.cpp: <appname>ui.rc
	$(EXTRACTRC)  <appname>ui.rc > rc.cpp

Havn't tried it yet though and I've no idea why the XMLGUI tutorial
claims changing 
messages:
to 
messages: rc.cpp
would be sufficient.

Hope it's helpful to anyone who gets stuck at the same point

Meinhard
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i OS/2 for non-commercial use
Comment: OS/2-PGP5.0i - Keep your privacy! Use envelopes! Use PGP!!!
Charset: cp850

wj8DBQE6u324v2LRaMHePXMRAsQMAKCz+iYekKAxWPENdq610nBeMRwlowCdH9kR
/KFg8GfW/SLvWborRF7F2mY=
=/l5b
-----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