Bug 198530 - compilation error in imagecategorizedview.cpp
Summary: compilation error in imagecategorizedview.cpp
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 1.0.0
Platform: NetBSD pkgsrc NetBSD
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 14:54 UTC by Thomas Klausner
Modified: 2017-08-19 20:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Klausner 2009-07-01 14:54:35 UTC
Version:           1.0.0-beta1 (using KDE 4.2.4)
Compiler:          gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120) 
OS:                NetBSD
Installed from:    NetBSD pkgsrc

Compilation on NetBSD-5.99.14/amd64 fails with:

[ 42%] Building CXX object digikam/CMakeFiles/digikam.dir/imagecategorizedview.o
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp: In constructor 'Digikam::ImageCategorizedView::ImageCategorizedView(QWidget*)':
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp:129: error: 'setDrawDraggedItems' was not declared in this scope
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp: In member function 'QModelIndex Digikam::ImageCategorizedView::indexForCategoryAt(const QPoint&) const':
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp:668: error: 'categoryAt' was not declared in this scope
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp: In member function 'virtual void Digikam::ImageCategorizedView::paintEvent(QPaintEvent*)':
/scratch/wip/digikam/work/digikam-1.0.0-beta1/digikam/imagecategorizedview.cpp:898: error: 'categorizedIndexesIn' was not declared in this scope
*** Error code 1
Comment 1 Marcel Wiesweg 2009-07-01 17:23:44 UTC
SVN commit 990066 by mwiesweg:

Include with "" not <>

CCBUG: 198530

 M  +1 -2      imagecategorizedview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=990066
Comment 2 Marcel Wiesweg 2009-07-01 17:35:04 UTC
Your compiler must use the local copy of kcategorizedview.h, not the one installed in system headers.
Comment 3 Thomas Klausner 2009-07-01 17:37:03 UTC
Thank you, your commit fixed the problem for me!