Bug 46162

Summary: create_xyz Kcontrol module name
Product: [Applications] kdevelop Reporter: Jean-Christophe Fargette <jean-christophe.fargette>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jean-Christophe Fargette 2002-08-05 20:05:27 UTC
(*** This bug was imported into bugs.kde.org ***)

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)
Comment 1 Harald Fernengel 2002-09-22 15:21:24 UTC
Fixed in gideon