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

List:       kde-user
Subject:    Re: Problems compiling kdeadmin from HEAD branch
From:       Per Jespersen <jespersen.per () get2net ! dk>
Date:       1999-06-29 15:28:09
[Download RAW message or body]

Thanx for the reply. My problem was solved in todays cvsup'ed sources, but then
I'm getting the error with using char* instead of QString &. Guess I'll just
have to wait until this is sorted out.

 On Tue, 29 Jun 1999, Harri Porten wrote:
> Per Jespersen wrote:
> > 
> > Hi all
> > I have a problem compiling kdeadmin from the HEAD branch
> > I get the following error:
> > 
> > make[3]: Entering directory `/usr/src/kde/kdeadmin/kpackage'
> > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde/include -I/usr/local/qt/include \
> >                 -I/usr/X11R6/include    -O2 -c kio.cpp
> > kio.cpp: In method `void Kiod::slotListEntry(int, const class UDSEntry &)':
> > kio.cpp:82: `const_iterator' is not a member of type `QValueList<UDSAtom>'
> > kio.cpp:82: parse error before `='
> > kio.cpp:83: `it' undeclared (first use this function)
> > kio.cpp:83: (Each undeclared identifier is reported only once
> > kio.cpp:83: for each function it appears in.)
> > kio.cpp:83: confused by earlier errors, bailing out
> > make[3]: *** [kio.o] Error 1
> > make[3]: Leaving directory `/usr/src/kde/kdeadmin/kpackage'
> > 
> > and when i check QValueList class in the qt include directory it is correct, it
> > does not contain a const_iterator. This error has been consistent for the last
> > 3 or 4 days. What should I do? I'm running the final release of qt 2.0. Any
> > ideas would be appreciated.
> 
> It's called ConstIterator now. Additionally the trolls disabled the ->
> operator thus forcing you to use the * operator. I fixed this but the
> compiler bombed out in other files later and I remember that I tried to
> fix some const'ness problems in kpackage but had to give up till the
> changes propagated trough the whole source. I believe that kpackage has
> to be rewritten since it passes quiet a char pointers that would better
> be converted to QString references now.
> 
> You may have to contact the author when the libs have stabilized more.
> 
> Harri.
> -- 
> Send posts to:  kde-user@lists.netcentral.net
> Send all commands to:  kde-user-request@lists.netcentral.net
> Put your command in the SUBJECT of the message:
> "subscribe", "unsubscribe", "set digest on", or "set digest off"
> 
> All kde mailing lists are archived at http://lists.kde.org
> **********************************************************************
> This list is from your pals at NetCentral <http://www.netcentral.net/>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Per Jespersen
Jespersen.Per@get2net.dk
-- 
Send posts to:  kde-user@lists.netcentral.net
 Send all commands to:  kde-user-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"

All kde mailing lists are archived at http://lists.kde.org
**********************************************************************
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