Bug#46162: create_xyz Kcontrol module name
jean-christophe.fargette at wanadoo.fr
jean-christophe.fargette at wanadoo.fr
Mon Aug 5 22:19:02 UTC 2002
Package: kdevelop
Version: KDevelop-2.1.1 (using KDE 3.0.1 )
Severity: normal
Installed from: Slackware Packages
Compiler: from slackware-8.1
OS: Linux
OS/Compiler notes: Not Specified
It's not really a bug, but I had a hard time to find out my problem.
May be you should change this in future version a kdevelop. (I'm using=20
kdevelop-2.1.1)
When you create a project the first letter is uppercase. Fine.
But in the name function, instead having create_knetswitcher, I had=20
create_Knetswitcher with an uppercase too.
That cause an error when loading the library with kcontrol.
Example :
extern "C"
{
KCModule *create_Knetswitcher(QWidget *parent, const char *name)
{
KGlobal::locale()->insertCatalogue("Knetswitcher");
return new Knetswitcher(parent, name);
}
}
Jean-Christophe Fargette
(Submitted via bugs.kde.org)
(Complete bug history is available at http://bugs.kde.org/db/46/46162.html)
More information about the KDevelop-devel
mailing list