[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: KApplication::kdedir()
From:       Conde Martinez Rodolfo <rconde () ada ! fciencias ! unam ! mx>
Date:       1998-06-01 22:46:30
[Download RAW message or body]



     Hi:

     From what i see in the error you get the problem is that kdedir is
protected, one solution is to make it public... You do know about all the
public, private and protected C++ stuff, right ??? just when it says
"protected:" in the header(.h file) change it for "public:" or just make
public
kdedir() 

Hope that helps...



---------------------------------rconde@ada.fciencias.unam.mx------------------


On Sun, 31 May 1998, David Klemm wrote:

> Hi,
> 
> i have the following error compiling kirc and have noticed that error while
> trying to compile other applications. Could it be that there is a problem
> with my includes or my configuration? I cant beliefe that all sources i
> downloaded are buggy...
> 
> Here is the problem:
> 
> c++  -c -O2 -Wall -I/opt/kde/include -I/usr/local/qt/include
> -I/usr/X11R6/include -DHAVE_CONFIG_H  -I.. -I. irc.cpp
> /opt/kde/include/kapp.h: In function 	nt main(int, char **)':
> /opt/kde/include/kapp.h:676: method tatic class QString
> KApplication::kdedir()' is protected
> irc.cpp:141: within this context
> make[2]: *** [irc.o] Error 1
> make[2]: Leaving directory /root/test/kirc-0.9.5-04/kirc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory /root/test/kirc-0.9.5-04'
> make: *** [all-recursive-am] Error 2
> klemm:/root/test/kirc-0.9.5-04 #
> 
> PLEASE HELP ON THIS ONE! ITS MAKING ME NERVOUS ;-)
> -- 
> David Klemm / Vienna Austria
> KDE b4 - Designed for Linux 98 / see http://www.kde.org
> PGP FP: 5A D5 C4 87 A8 0C CC B8  A9 4C FC E9 9B B3 06 94
> -- 
> Send posts to:  kde@lists.netcentral.net
>  Send all commands to:  kde-request@lists.netcentral.net
>   Put your command in the SUBJECT of the message:
>    "subscribe", "unsubscribe", "set digest on", or "set digest off"
> **********************************************************************
> This list is from your pals at NetCentral <http://www.netcentral.net/>
> 

-- 
Send posts to:  kde@lists.netcentral.net
 Send all commands to:  kde-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.net/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic