[Kde-imaging] [Bug 109976] New: Header-file: missing forward-declaration in libkexif

Aurelien Bompard gauret at free.fr
Mon Aug 1 22:52:10 CEST 2005


------- 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=109976         
           Summary: Header-file: missing forward-declaration in libkexif
           Product: kipiplugins
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-imaging kde org
        ReportedBy: gauret free fr


Version:           libkexif 0.2.1 (using KDE KDE 3.4.2)
Installed from:    Compiled From Sources
Compiler:          gcc 4.0.1 
OS:                Linux

The File /usr/include/libkexif/kexifdialog.h defines the Class KExifDialog. When
compiling against this file (like for example with digikam-0.7.3), the Class
QComboBox is not known in line 54 of kexifdialog.h. This problem occurs because
no forward-declaration of QComboBox is given.

This bug was reported to the Red Hat bugzilla, please see https://bugzilla.redhat.com/162964 for more info.

The following patch fixes it :
--- libkexif-0.2.1/libkexif/kexifdialog.h	2004-12-20 22:00:20.000000000 +0100
+++ libkexif-0.2.1/libkexif/kexifdialog.h.fwddecl	2005-07-11 23:11:48.000000000 +0200
 @ -32,6 +32,7  @
 class QString;
 class QLabel;
 class KExifWidget;
+class QComboBox;
 
 class KExifDialog : public KDialogBase
 {


More information about the Kde-imaging mailing list