Bug 46162 - create_xyz Kcontrol module name
Summary: create_xyz Kcontrol module name
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 2.1.1
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-05 20:18 UTC by Jean-Christophe Fargette
Modified: 2002-09-22 15:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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