Bug 109976 - Header-file: missing forward-declaration
Summary: Header-file: missing forward-declaration
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 22:52 UTC by Aurelien Bompard
Modified: 2022-01-23 05:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Bompard 2005-08-01 22:52:10 UTC
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
 {
Comment 1 Tom Albers 2005-08-07 02:01:27 UTC
This is fixed in svn, thanks for reporting!