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

List:       kde-devel
Subject:    Re: kprotocolmanager.cpp
From:       Stephan Kulow <coolo () kde ! org>
Date:       1999-04-18 16:27:36
[Download RAW message or body]

Kevin Forge wrote:
> 
>  When I compile kdelibs from CVS it gives me this error.  Has been doing
>  it for a week now.  It stops in kprotocolmanager.cpp .  I have CVS
>  version of QT from Tuesday, Wednesday and friday.  Doesn't matter which
>  is linked I get the same error.
> 
>  Am I doing something wrong ?  This is a RedHat 5.1 system updated to
>  run Gnome-1.0.x and KDE-2.0.beta.  It compiles the KDE stuff sometimes
>  And I have gotten nearly everything to compile before.
> 
>  /bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
>  -I..
>  -I../kdecore -I../kdeui -I/usr/local/qt/include -I/usr/X11R6/include
>  -I/opt/kde/include     -O2 -Wall -c kprotocolmanager.cpp
>  kprotocolmanager.cpp: In method 'void
> KProtocolManager::scanConfig(const
>  class QString &, bool)':
>  kprotocolmanager.cpp:29: conversion from 'const QStringList *' to
>  non-scalar
>  type 'QStringList' requested
>  make[2]: *** [kprotocolmanager.lo] Error 1
>  make[2]: Leaving directory /usr/src/KDE/kde/kdelibs/kdecore'
>  make[1]: *** [all-recursive] Error 1
>  make[1]: Leaving directory /usr/src/KDE/kde/kdelibs'
>  make: *** [all-recursive-am] Error 2

There have been some changes in Qt related to QStringList and the whole
build is very touchy now. But if you get the latest Qt and KDE, it
should
build fine. Besides kdenetwork/ksirc I compiled today all big packages
:)

Guess, your QDir::entryList returns QStringList* while the current
return
QStringList.

Greetings, Stephan

-- 
Und sie nannten ihn, wie er selbst unterschrieb -
Den Trojanischen Pferdedieb

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

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