Bug 340295 - make fails on imagedescedittab.cpp has no member named 'textEdit'
Summary: make fails on imagedescedittab.cpp has no member named 'textEdit'
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 4.4.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 10:45 UTC by Taurnil
Modified: 2017-08-19 21:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Taurnil 2014-10-24 10:45:12 UTC
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/utilities/imageeditor/main/imagewindow.cpp.o
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/libs/dialogs/deletedialog.cpp.o
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/imagepropertiessidebarcamgui.cpp.o
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/imagepropertiessidebardb.cpp.o
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/cameraitempropertiestab.cpp.o
[ 46%] Building CXX object core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/imagedescedittab.cpp.o
/usr/src/digikam-4.4.0/core/libs/imageproperties/imagedescedittab.cpp: In constructor 'Digikam::ImageDescEditTab::ImageDescEditTab(QWidget*)':
/usr/src/digikam-4.4.0/core/libs/imageproperties/imagedescedittab.cpp:433:19: error: 'class KExiv2Iface::AltLangStrEdit' has no member named 'textEdit'
     d->titleEdit->textEdit()->installEventFilter(this);
                   ^
/usr/src/digikam-4.4.0/core/libs/imageproperties/imagedescedittab.cpp: In member function 'void Digikam::ImageDescEditTab::setFocusToTitlesEdit()':
/usr/src/digikam-4.4.0/core/libs/imageproperties/imagedescedittab.cpp:536:19: error: 'class KExiv2Iface::AltLangStrEdit' has no member named 'textEdit'
     d->titleEdit->textEdit()->setFocus();
                   ^
core/app/CMakeFiles/digikam.dir/build.make:204: recipe for target 'core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/imagedescedittab.cpp.o' failed
make[2]: *** [core/app/CMakeFiles/digikam.dir/__/libs/imageproperties/imagedescedittab.cpp.o] Error 1
CMakeFiles/Makefile2:10481: recipe for target 'core/app/CMakeFiles/digikam.dir/all' failed
make[1]: *** [core/app/CMakeFiles/digikam.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. compile with -DWITH_ImageMagick=ON
2.run make
3.make fails


Expected Results:  
A successful compile with -DWITH_ImageMagick=ON

Using ImageMagick-6.8.9-7. I have to use -DWITH_ImageMagick=OFF to get around this problem.
Comment 1 Taurnil 2014-10-24 10:52:48 UTC
Forgot to mention. Using libkexiv2-4.14.2 instead of those provided with your tarball.
Comment 2 Taurnil 2014-10-24 10:59:37 UTC
(In reply to Taurnil from comment #1)
> Forgot to mention. Using libkexiv2-4.14.2 instead of those provided with
> your tarball.

I have to use -DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=OFF, else your provide libkexiv2 and libkdcraw will conflict (over write) the ones provided by KDE. Which means I would have to install digikam in order to satisfy the optional depends of libkexiv2 and libkdcraw used by;

kdeartwork
kdegraphics-thumbnailers
kdeplasma-addons
calligra
kphotoalbum
Comment 3 caulier.gilles 2014-10-24 11:12:17 UTC
-DWITH_ImageMagick=ON

==> we don't care about. digiKam do not use ImageMagick

Libkexiv2 problem is already fixed with this commit :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/f6945f23e0ed1e11f26e2c7e62b02baa8cfa640e

Gilles Caulier
Comment 4 Taurnil 2014-10-24 11:46:59 UTC
@Gilles

Hey thanks, that worked great.

On a side note. In other words that -D imagemagick switch does not exist? Are there other switches like that?
Comment 5 caulier.gilles 2014-10-24 11:51:18 UTC
Look in README files

Gilles Caulier