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
Created attachment 515 [details] This is an updated processwidget.cpp program
This was fixed in CVS just after the release. Thanks for the report.
Subject: Re: Error compiling for KDevelop 3.0 Alpha 2 Caleb Please excuse the others that I reported/submitted as I just saw this message. Thanks Kenneth >From: Caleb Tennis <caleb@aei-tech.com> >Reply-To: 51133@bugs.kde.org >To: kjpou@hotmail.com >Subject: [Bug 51133] Error compiling for KDevelop 3.0 Alpha 2 Date: >24 Nov 2002 16:37:31 -0000 > >------- You are receiving this mail because: ------- >You reported the bug, or are watching the reporter. > >http://bugs.kde.org/show_bug.cgi?id=51133 >caleb@aei-tech.com changed: > > What |Removed |Added >---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution| |FIXED > > > >------- Additional Comments From caleb@aei-tech.com 2002-11-24 17:37 >------- >This was fixed in CVS just after the release. Thanks for the report. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Cause 3.05 is not the last 3.0x version the line #if (KDE_VERSION > 305) should be changed to something like: #if (KDE_VERSION < 3XX) where xx is the first alpha version of kde3.1