KDevelop isn't able to find the appropriate plugins to edit C++ Code. KDevelop claims these plugins aren't installed, whereas they are: bash-2.05b# ls /usr/qt/3/plugins/designer/ libcppeditor.so libgladeplugin.so librcplugin.so libdlgplugin.so libkdevdlgplugin.so libwizards.so Reproducible: Always Steps to Reproduce: 1. Start KDevelop and Create a C++ Project 2. Add a new Sourcefile Actual Results: main-file can't be created, the OK-button is greyed out *.h oder *.cc files could be created, but with this result: There is no plugin for editing C++ code installed! Note: Plugins are not available in static Qt configurations. Expected Results: Should behave like an IDE, i should be able to use the editor.
What version of kdelibs and kdevelop are you using? Have you upgraded you kde after the kdevelop's emerge?
kde-base/kdelibs-3.2.3-r2 dev-util/kdevelop-3.1.0 i am trying to update to newest possible version of each kdelibs, kdevelop an kde and report back
Problem fixed with kdelibs 3.3.0
*** Bug 101411 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > *** Bug 101411 has been marked as a duplicate of this bug. *** I still got same error message in the Kdevelop Designer after I remerge qt, kdelibs and kdevelop. #emerge info emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/service" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://10.180.0.25 http://ftp.linuxforum.net/gentoo/ http://www.zentek-international.com/mirrors/gentoo/ http://218.36.126.80 http://mirror.gentoo.gr.jp http://gentoo.gg3.net/ http://ftp.gentoo.or.kr/" LANG="zh_CN.GB2312" LC_ALL="zh_CN.GB2312" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 MONO X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups curl directfb eds emboss encode esd fam font-server foomaticdb fortran gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis wxwindows xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY #emerge -s qt * x11-libs/qt Latest version available: 3.3.4-r3 Latest version installed: 3.3.4-r3 Size of downloaded files: 14,212 kB Homepage: http://www.trolltech.com/ Description: QT version 3.3.4 License: || ( QPL-1.0 GPL-2 ) #emerge -s kdelibs * kde-base/kdelibs Latest version available: 3.4.1-r1 Latest version installed: 3.4.1-r1 Size of downloaded files: 16,458 kB Homepage: http://www.kde.org/ Description: KDE libraries needed by all kde programs License: GPL-2 LGPL-2 #emerge -s kdevelop * dev-util/kdevelop Latest version available: 3.2.1-r1 Latest version installed: 3.2.1-r1 Size of downloaded files: 8,139 kB Homepage: http://www.kdevelop.org Description: Integrated Development Enviroment for Unix, supporting KDE/Qt, C/C++ and a many other languages. License: GPL-2
Reopening. Can you confirm that you have those .so files in /usr/qt/3/plugins/designer/?
(In reply to comment #6) > Reopening. > > Can you confirm that you have those .so files in /usr/qt/3/plugins/designer/? yes. $ls /usr/qt/3/plugins/designer/* /usr/qt/3/plugins/designer/libcppeditor.so /usr/qt/3/plugins/designer/libdlgplugin.so /usr/qt/3/plugins/designer/libgladeplugin.so /usr/qt/3/plugins/designer/libkdevdlgplugin.so /usr/qt/3/plugins/designer/librcplugin.so /usr/qt/3/plugins/designer/libwizards.so
(In reply to comment #7) > (In reply to comment #6) > > Reopening. > > > > Can you confirm that you have those .so files in /usr/qt/3/plugins/designer/? > > yes. > > $ls /usr/qt/3/plugins/designer/* > /usr/qt/3/plugins/designer/libcppeditor.so > /usr/qt/3/plugins/designer/libdlgplugin.so > /usr/qt/3/plugins/designer/libgladeplugin.so > /usr/qt/3/plugins/designer/libkdevdlgplugin.so > /usr/qt/3/plugins/designer/librcplugin.so > /usr/qt/3/plugins/designer/libwizards.so > Can anybody confirm this bug in your computer? I met it from my desktop pc and an old notebook. Both computers use newest and default(stable i think) package.
i have the same problem here with: x11-libs/qt-3.3.4-r3 kde-base/kdelibs-3.4.1-r1 dev-util/kdevelop-3.2.2
works with : export KDEDIRS=/usr && kbuildsycoca && kdevelop
(In reply to comment #10) > works with : > export KDEDIRS=/usr && kbuildsycoca && kdevelop I'm afraid this does not fix it on my system (I also deleted old kde-cache). --- CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" x11-libs/qt-3.3.4-r8 +cups -debug -doc -examples (-firebird) +gif -immqt -immqt-bc +ipv6 +mysql +nas -odbc +opengl +postgres +sqlite +xinerama 0 kB kde-base/kdelibs-3.5.2 +acl +alsa +arts +cups -debug -doc -jpeg2k -kdeenablefinal -kerberos -openexr +spell +ssl +tiff +xinerama +zeroconf 0 kB dev-util/kdevelop-3.3.2 -ada +arts -clearcase +cvs +debug +fortran +haskell +java +pascal -perforce +perl +php +python +ruby +sql +subversion +xinerama 0 kB /usr/qt/3/plugins/designer/libwizards.so /usr/qt/3/plugins/designer/libdlgplugin.so /usr/qt/3/plugins/designer/libcppeditor.so /usr/qt/3/plugins/designer/libgladeplugin.so /usr/qt/3/plugins/designer/librcplugin.so /usr/qt/3/plugins/designer/libkdevdlgplugin.so /usr/qt/3/plugins/designer/libqscintillaplugin.so
I've given up for now. I unmerged kdelibs 3.5.2 and downgraded kdevelop to 3.2.1-r1.
I had the same problem with 3.3.2. I don't know how it was fixed, but it works now. These are the things I tried (not in this order, some I tried multiple times): - Run kdevelop as a user (three or more times...) - Run `kbuildsyscoca` as a user (at least twice...) - Run kdevelop as root (worked the first try! I ran it by accident too.) - Run `kbuildsyscoca` as root (at least twice...) - Run kdevelop as a user again, it worked! I wish I could be more helpful, but now that its working, I have to get back to work. --Mark Carlson
Ok, I think I found the problem now. In my case: As a normal user: `which kbuildsycoca` evaluates to "/usr/kde/3.4/bin/kbuildsycoca" this does not work with the version of KDevelop I have, 3.3.2 `/usr/kde/3.5/bin/kbuildsycoca` needs to be run instead. Problem: "/usr/kde/3.4/bin" is in my $PATH Solution: Real solution unknown, fix is: run `/usr/kde/3.5/bin/kbuildsycoca` instead of `kbuildsycoca` before running KDevelop the first time. HTH, --Mark Carlson
(In reply to comment #14) > Ok, I think I found the problem now. > > In my case: > As a normal user: > `which kbuildsycoca` evaluates to "/usr/kde/3.4/bin/kbuildsycoca" > this does not work with the version of KDevelop I have, 3.3.2 > `/usr/kde/3.5/bin/kbuildsycoca` needs to be run instead. > > Problem: > "/usr/kde/3.4/bin" is in my $PATH > > Solution: > Real solution unknown, fix is: run `/usr/kde/3.5/bin/kbuildsycoca` instead of > `kbuildsycoca` before running KDevelop the first time. > > HTH, > > --Mark Carlson > Yes, that was the problem... turns out I just needed to have my $PATH variable updated and everything was fine afterwards (a quick log out and log back in fixed everything) --Mark Carlson
Usual kbuildsycoca problem, I'd say.