Bug 165275 - build-failure - imageresize.cpp - 'KToolInvocation' has not been declared
Summary: build-failure - imageresize.cpp - 'KToolInvocation' has not been declared
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: 2008-06-29 09:03 UTC by Treeve Jelbert
Modified: 2017-08-06 19:16 UTC (History)
1 user (show)

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


Attachments
compile log (4.11 KB, application/x-bzip)
2008-06-29 09:05 UTC, Treeve Jelbert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Treeve Jelbert 2008-06-29 09:03:48 UTC
Version:           0.10.0 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-4.3.1 
OS:                Linux

failed to compile from svn-20080629


Generating imagedlgbase.moc
/usr/src/digikam-svn/utilities/imageeditor/tools/imageprint.h:0: Warning: No relevant
classesfound. No output generated.
Generating colorgradientwidget.moc

....
[ 20%] Building CXX object
digikam/CMakeFiles/digikam.dir/__/utilities/imageeditor/tools/image
resize.o
/usr/src/digikam-svn/utilities/imageeditor/tools/imageresize.cpp:63:27: error:
KToolInvocation
: No such file or directory
In file included from /usr/src/digikam-svn/utilities/imageeditor/tools/imageprint.cpp:74:
/usr/src/digikam-svn/utilities/imageeditor/tools/imageprint.h:44:2: warning: #warning "TODO:
K
Printer is disabled for KDE4.0";
/usr/src/digikam-svn/utilities/imageeditor/tools/imageprint.cpp:80:2: warning: #warning
"TODO: KPrinter is disabled for KDE4.0";
[ 21%] Building CXX object
digikam/CMakeFiles/digikam.dir/__/utilities/imageeditor/editor/editorwindow.o
/usr/src/digikam-svn/utilities/imageeditor/tools/imageresize.cpp: In member function 'void
Digikam::ImageResize::processCImgUrl(const QString&)':
/usr/src/digikam-svn/utilities/imageeditor/tools/imageresize.cpp:499: error:
'KToolInvocation' has not been declared
make[2]: *** [digikam/CMakeFiles/digikam.dir/__/utilities/imageeditor/tools/imageresize.o]
Error 1
Comment 1 Treeve Jelbert 2008-06-29 09:05:50 UTC
Created attachment 25688 [details]
compile log
Comment 2 Treeve Jelbert 2008-06-29 09:47:18 UTC
The following patch fixes the problem



sed -i 's/<KToolInvocation>/<ktoolinvocation.h>/' \
    utilities/imageeditor/tools/imageresize.cpp
Comment 3 caulier.gilles 2008-06-29 10:06:42 UTC
SVN commit 825718 by cgilles:

fix broken compilation
BUGS: 165275


 M  +1 -1      imageresize.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=825718