Problem launching KDevelop CVS
Simon Hausmann
hausmann at kde.org
Sun Jun 23 22:30:06 UTC 2002
On Sun, Jun 23, 2002 at 07:09:02PM +0200, Simon Hausmann wrote:
> I'll make a patch.
The attached patch I comitted. But I guess this doesn't fix the
original problem. At least here the kate part still installs as
katepart.la, not libkatepart.la.
Simon
-------------- next part --------------
Index: docviewman.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/docviewman.cpp,v
retrieving revision 1.8
diff -u -p -r1.8 docviewman.cpp
--- docviewman.cpp 2002/05/03 19:51:11 1.8
+++ docviewman.cpp 2002/06/23 20:18:50
@@ -67,8 +67,10 @@ DocViewMan::DocViewMan( CKDevelop* paren
m_docBookmarksList.setAutoDelete(true);
m_docBookmarksTitleList.setAutoDelete(true);
- m_pKateFactory = static_cast<KParts::Factory*>
- (KLibLoader::self()->factory("katepart"));
+ KService::Ptr kateService = KService::serviceByDesktopName( "katepart" );
+ if ( kateService )
+ m_pKateFactory = static_cast<KParts::Factory*>
+ (KLibLoader::self()->factory(kateService->library().local8Bit()));
if (!m_pKateFactory) {
KMessageBox::sorry(0L, i18n("This version of KDevelop uses Kate as its internal editor, "
"but Kate could not be found on your system! Please check "
More information about the KDevelop-devel
mailing list