[Bug 72089] New: Incorrect factory name for KControl modules

Laur Ivan laur.ivan at corvil.com
Wed Jan 7 21:17:05 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=72089      
           Summary: Incorrect factory name for KControl modules
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: laur.ivan at corvil.com


Version:           Kdevelop CVS (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3.1 
OS:          Linux

The factory name of of the .desktop file has the lower case string (directory name instead of project/class name)
Steps to reproduce:
1. Create a new kcontrol module (SampleModule)
2. Compile and install
3. try to run it via kcminit, it will fail saying it cannot find libkcm_samplemodule.la. In fact, it does not find the create_samplemodule symbol in the .so (the .so has create_SampleModule).


the .desktop file contains:

X-KDE-FactoryName=samplemodule
X-KDE-Library=samplemodule

It should be:
X-KDE-FactoryName=SampleModule
X-KDE-Library=samplemodule




More information about the KDevelop-devel mailing list