[Bug 51133] New: Error compiling for KDevelop 3.0 Alpha 2

Kj P kjpou at hotmail.com
Sun Nov 24 16:57:07 UTC 2002


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=51133     
           Summary: Error compiling for KDevelop 3.0 Alpha 2
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
        ReportedBy: kjpou at hotmail.com


Version:            (using KDE KDE 3.0.4)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.2 
OS:          Linux

I have kde version 3.0.5 from SUSE update.  This is causing a compile error because of the check from the lines of code below.Making all in utilmake[3]: Entering directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib/util'/usr/lib/qt3/bin/moc ./processwidget.h -o processwidget.mocsource='processwidget.cpp' object='processwidget.lo' libtool=yes \depfile='.deps/processwidget.Plo' tmpdepfile='.deps/processwidget.TPlo' \depmode=gcc3 /bin/sh ../../admin/depcomp \/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces -I../../lib/sourceinfo -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  -c -o processwidget.lo `test -f 'processwidget.cpp' || echo './'`processwidget.cppprocesswidget.cpp: In constructor `ProcessWidget::ProcessWidget(QWidget*, const   char*)':processwidget.cpp:55: no matching function for call to `KProcess::setUseShell(   bool)'make[3]: *** [processwidget.lo] Error 1make[3]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib/util'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a/lib'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/jimmy/downloads/kdevelop/kdevelop-3.0a2a'make: *** [all] Error 2Compile fails for the following module:kdevelop-3.0a2/lib/processwidget.cpp line 53 - 59#if (KDE_VERSION > 304)    childproc = new KProcess();    childproc->setUseShell(true);#else    childproc = new KShellProcess();#endifI changed this to the following:#if (KDE_VERSION > 305)    childproc = new KProcess();    childproc->setUseShell(true);#else    childproc = new KShellProcess();#endifand all seems ok for now.RegardsKenneth




More information about the KDevelop-devel mailing list