Bug in KDevelop 2.2.2 with Designer files (ui)

Bernd Lachner blachner at gmx.de
Sat Nov 24 13:17:21 GMT 2001


Hello,

I generated a project file with KDevelop (attached to the email as 
kmathhelp.kdevprj) saved it and tried to opened it later. KDevelop crashes. I 
start Kdevelop from the konsole to view the output. KDevelop prints the 
following text to the konsole:

kdevelop kmathhelp.kdevprj
kdecore (KAccel): WARNING: cannot connect action Mittels grep suchen which is 
not in the object dictionary
DocViewMan::installBMPopup
QObject::connect: Incompatible sender/receiver arguments
        QSignal::x(int) --> CKDevelop::slotHelpTipOfDay(bool)
QGList::locate: Index 0 out of range
QGList::locate: Index 1 out of range
QGList::locate: Index 2 out of range
QGList::locate: Index 3 out of range
QGList::locate: Index 4 out of range
QGList::locate: Index 5 out of range
kdevelop: WARNING: Precondition violation [ClassStore.cc:418]
kdevelop: WARNING:   Valid classname: aName != NULL
kdevelop: WARNING: Precondition violation [ClassStore.cc:418]
kdevelop: WARNING:   Valid classname: aName != NULL
kdevelop: WARNING: No class by the name  found
kdevelop: WARNING: Precondition violation [ClassStore.cc:418]
kdevelop: WARNING:   Valid classname: aName != NULL
kdevelop: WARNING: Precondition violation [ClassStore.cc:418]
kdevelop: WARNING:   Valid classname: aName != NULL
kdevelop: WARNING: No class by the name  found
input buffer overflow, can't enlarge buffer because scanner uses REJECT


Than I changed the KDevelop project file manualy with a edtitor. I changed

[kmathhelp/Makefile.am]
files=kmathhelp/main.cpp,kmathhelp/kmathhelp.cpp,kmathhelp/kmathhelp.h,kmathhelp/kmathhelpdoc.cpp,kmathhelp/kmathhelpdoc.h,kmathhelp/kmathhelpview.cpp,kmathhelp/kmathhelpview.h,kmathhelp/kmathhelpui.rc,kmathhelp/kmathhelp.desktop,kmathhelp/lo32-app-kmathhelp.png,kmathhelp/lo16-app-kmathhelp.png,kmathhelp/DesignFactorSearchWidget.ui,kmathhelp/primeprovewidget.cpp,kmathhelp/primeprovewidget.h,kmathhelp/factorsearchwidget.cpp,kmathhelp/factorsearchwidget.h,kmathhelp/DesignFactorizeWidget.ui,kmathhelp/factorizewidget.cpp,kmathhelp/factorizewidget.h,kmathhelp/startscreenwidget.cpp,kmathhelp/startscreenwidget.h,kmathhelp/DesignNumberMultiplicate.ui,kmathhelp/functionlineequationwidget.cpp,kmathhelp/functionlineequationwidget.h,kmathhelp/DesignFunctionLineEquationWidget.ui,kmathhelp/DesignStartScreenWidget.ui
sub_dirs=
type=prog_main

to

[kmathhelp/Makefile.am]
files=kmathhelp/main.cpp,kmathhelp/kmathhelp.cpp,kmathhelp/kmathhelp.h,kmathhelp/kmathhelpdoc.cpp,kmathhelp/kmathhelpdoc.h,kmathhelp/kmathhelpview.cpp,kmathhelp/kmathhelpview.h,kmathhelp/kmathhelpui.rc,kmathhelp/kmathhelp.desktop,kmathhelp/lo32-app-kmathhelp.png,kmathhelp/lo16-app-kmathhelp.png,kmathhelp/DesignFactorSearchWidget.ui,kmathhelp/primeprovewidget.cpp,kmathhelp/primeprovewidget.h,kmathhelp/factorsearchwidget.cpp,kmathhelp/factorsearchwidget.h,kmathhelp/DesignFactorizeWidget.ui,kmathhelp/factorizewidget.cpp,kmathhelp/factorizewidget.h,kmathhelp/startscreenwidget.cpp,kmathhelp/startscreenwidget.h,kmathhelp/DesignNumberMultiplicate.ui,kmathhelp/functionlineequationwidget.cpp,kmathhelp/functionlineequationwidget.h,kmathhelp/DesignFunctionLineEquationWidget.ui
sub_dirs=
type=prog_main


I removed ",kmathhelp/DesignStartScreenWidget.ui" and KDevelop could load the 
project file again. So it seams KDevelop have problems with a larger number 
of ui files. This is a really annoying bug. I hope someon can fix it.

Best regards

Bernd Lachner
-------------- next part --------------
[AUTHORS]
dist=true
install=false
install_location=
type=DATA

[COPYING]
dist=true
install=false
install_location=
type=DATA

[ChangeLog]
dist=true
install=false
install_location=
type=DATA

[Config for BinMakefileAm]
bin_program=kmathhelp
cxxflags=-O0 -g3 -Wall
ldadd=\s$(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE)\s
ldflags=\s

[General]
AMChanged=true
author=Birgit Schulz
configure_args=
email=schulz.b at gmx.de
kdevprj_version=1.3
lfv_open_groups=Benutzerschnittstelle
makefiles=Makefile.am,kmathhelp/Makefile.am,doc/Makefile.am,doc/en/Makefile.am,po/Makefile.am
project_name=KMathHelp
project_type=normal_kde2
sgml_file=/home/birgit/edu-kde/kmathhelp/doc/en/index.docbook
sub_dir=kmathhelp/
version=0.1
version_control=CVS
workspace=1

[INSTALL]
dist=true
install=false
install_location=
type=DATA

[LFV Groups]
Andere=*
Benutzerschnittstelle=*.kdevdlg,*.ui,*.rc
GNU=AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,NEWS
Header=*.h,*.hh,*.hxx,*.hpp,*.H
Quellen=*.cpp,*.c,*.cc,*.C,*.cxx,*.ec,*.ecpp,*.lxx,*.l++,*.ll,*.l
groups=Header,Quellen,Benutzerschnittstelle,Übersetzungen,GNU,Andere
Übersetzungen=*.po

[Makefile.am]
files=kmathhelp.kdevprj,AUTHORS,COPYING,ChangeLog,INSTALL,README,TODO,kmathhelp.lsm
sub_dirs=kmathhelp,po,doc
type=normal

[README]
dist=true
install=false
install_location=
type=DATA

[TODO]
dist=true
install=false
install_location=
type=DATA

[doc/Makefile.am]
sub_dirs=en
type=normal

[doc/en/Makefile.am]
files=doc/en/index.docbook
sub_dirs=
type=normal

[doc/en/index.docbook]
dist=true
install=false
install_location=$$(kde_icondir)/locolor/16x16/apps/kmathhelp.png
type=DATA

[kmathhelp.kdevprj]
dist=true
install=false
install_location=
type=DATA

[kmathhelp.lsm]
dist=true
install=false
install_location=
type=DATA

[kmathhelp/DesignFactorSearchWidget.ui]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/DesignFactorizeWidget.ui]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/DesignFunctionLineEquationWidget.ui]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/DesignNumberMultiplicate.ui]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/DesignStartScreenWidget.ui]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/Makefile.am]
files=kmathhelp/main.cpp,kmathhelp/kmathhelp.cpp,kmathhelp/kmathhelp.h,kmathhelp/kmathhelpdoc.cpp,kmathhelp/kmathhelpdoc.h,kmathhelp/kmathhelpview.cpp,kmathhelp/kmathhelpview.h,kmathhelp/kmathhelpui.rc,kmathhelp/kmathhelp.desktop,kmathhelp/lo32-app-kmathhelp.png,kmathhelp/lo16-app-kmathhelp.png,kmathhelp/DesignFactorSearchWidget.ui,kmathhelp/primeprovewidget.cpp,kmathhelp/primeprovewidget.h,kmathhelp/factorsearchwidget.cpp,kmathhelp/factorsearchwidget.h,kmathhelp/DesignFactorizeWidget.ui,kmathhelp/factorizewidget.cpp,kmathhelp/factorizewidget.h,kmathhelp/startscreenwidget.cpp,kmathhelp/startscreenwidget.h,kmathhelp/DesignNumberMultiplicate.ui,kmathhelp/functionlineequationwidget.cpp,kmathhelp/functionlineequationwidget.h,kmathhelp/DesignFunctionLineEquationWidget.ui,kmathhelp/DesignStartScreenWidget.ui
sub_dirs=
type=prog_main

[kmathhelp/factorizewidget.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/factorizewidget.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/factorsearchwidget.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/factorsearchwidget.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/functionlineequationwidget.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/functionlineequationwidget.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/kmathhelp.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/kmathhelp.desktop]
dist=true
install=true
install_location=$$(kde_appsdir)/Applications/kmathhelp.desktop
type=DATA

[kmathhelp/kmathhelp.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/kmathhelpdoc.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/kmathhelpdoc.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/kmathhelpui.rc]
dist=true
install=false
install_location=
type=DATA

[kmathhelp/kmathhelpview.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/kmathhelpview.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/lo16-app-kmathhelp.png]
dist=true
install=true
install_location=$$(kde_icondir)/locolor/16x16/apps/kmathhelp.png
type=DATA

[kmathhelp/lo32-app-kmathhelp.png]
dist=true
install=true
install_location=$$(kde_icondir)/locolor/32x32/apps/kmathhelp.png
type=DATA

[kmathhelp/main.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/primeprovewidget.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/primeprovewidget.h]
dist=true
install=false
install_location=
type=HEADER

[kmathhelp/startscreenwidget.cpp]
dist=true
install=false
install_location=
type=SOURCE

[kmathhelp/startscreenwidget.h]
dist=true
install=false
install_location=
type=HEADER

[po/Makefile.am]
sub_dirs=
type=po


More information about the KDevelop mailing list