Objective-C support in KDEVELOP_2_BRANCH

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Apr 4 13:14:02 UTC 2002


When I looked at the KDEVELOP_2_BRANCH, I was quite surprised to see what was 
going on, and how different from the KDE_2_2_BRANCH ;)

Because the class parser has come from gideon, it already had Objective-C. And 
now kwrite has been updated to a newer version, the editor already has syntax 
highlighting. So the only changes need were really to do with '.m' files 
being recognised as sources and adding some Objective-C projects templates.  
I might have messed up is the class wizard if anything - everything else were 
very straightforward changes. There is a command line and a Qt template 
'objc.tar.gz' and 'qtobjc.tar.gz', I have done the *.tar.gz' files yet for 
the KDE templates.

I couldn't actually KDevelop to run. I built and installed the latest gideon 
to get the latest parts, but it failed with this:

kio (KTrader): KServiceTypeProfile::offers( KDevelop/MakeFrontend, )
kio (KTrader): No profile, using KServiceType::offers, result: 1 offers
kdevelop (core): Loading service KDevMakeView
kdecore (KLibLoader): library libkdevoutputviews.la not found under 'module' 
but under 'lib'
kdevelop (output views): Building MakeView
lt-kdevelop: error in loading shared libraries: 
/opt/kde3/lib/libkdevoutputviews.so: undefined symbol: 
_ZN8KDevPart8topLevelEv

..And I haven't worked out what's going on yet.

But I've added the changes anyway.

If anyone has a working KDEVELOP_2_BRANCH KDevelop, there are two large 
KDevelop Objective-C projects already in the cvs - kdebindings/qtobjc and 
kdebindings/kdeobjc. I'd be interested if it actually works - you should be 
able to see what Objective-C looks like in the class browser (probably quite 
weird if you haven't see any before)..

-- Richard




More information about the KDevelop-devel mailing list