[Digikam-devel] [Bug 140176] showfoto crashes when selecting a filter

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Jan 20 22:46:56 GMT 2007


------- 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=140176         
marcel.wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From marcel.wiesweg gmx de  2007-01-20 23:46 -------
SVN commit 625731 by mwiesweg:

Fix a linking problem with showfoto, image plugins and --enable-gcc-hidden-visibility:
All image plugins link to libdigikam.so.
The showfoto executable however does not link to this lib, but statically links the relevant parts.
With visibility hidden, now the linker obviously cannot see the already linked DImgInterface class,
and there would be two different static variables for DImgInterface::instance(). One with the loaded
image, the other (from the image plugins) with a null image.

BUG: 140176


 M  +1 -1      dimginterface.h  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.h #625730:625731
 @ -44,7 +44,7  @
 class LoadingDescription;
 class DImgInterfacePrivate;
 
-class DImgInterface : public QObject
+class DIGIKAM_EXPORT DImgInterface : public QObject
 {
     Q_OBJECT



More information about the Digikam-devel mailing list