Bug 343662 - Build Error regarding lensfuncameraselector
Summary: Build Error regarding lensfuncameraselector
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Unclassified
Component: Portability-Compilation (show other bugs)
Version: 5.0.0
Platform: Archlinux Packages Linux
: NOR critical (vote)
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-01 19:12 UTC by Tajidin Abd
Modified: 2017-08-19 21:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tajidin Abd 2015-02-01 19:12:35 UTC
When trying to build from ArchLinux AUR the git version of Digikam i get the following build error:


[ 13%] Building CXX object app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuncameraselector.cpp.o                            
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:99:5: error: 'RAdjustableLabel' does not name a type
     RAdjustableLabel* lensDescription;
     ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:100:5: error: 'RAdjustableLabel' does not name a type
     RAdjustableLabel* makeDescription;
     ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:101:5: error: 'RAdjustableLabel' does not name a type
     RAdjustableLabel* modelDescription;
     ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp: In constructor 'Digikam::LensFunCameraSelector::Private::Private()':
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:77:9: error: 'lensDescription' was not declared in this scope
         lensDescription      = 0;
         ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:78:9: error: 'makeDescription' was not declared in this scope
         makeDescription      = 0;
         ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:79:9: error: 'modelDescription' was not declared in this scope
         modelDescription     = 0;
         ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp: In constructor 'Digikam::LensFunCameraSelector::LensFunCameraSelector(QWidget*)':
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:131:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'makeDescription'
     d->makeDescription  = new RAdjustableLabel(hbox1);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:131:31: error: expected type-specifier before 'RAdjustableLabel'
     d->makeDescription  = new RAdjustableLabel(hbox1);
                               ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:133:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'makeDescription'
     d->makeDescription->setAlignment(Qt::AlignVCenter | Qt::AlignRight);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:134:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'makeDescription'
     d->makeDescription->setWhatsThis(i18n("This is the camera maker description string found in image meta-data. "
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:143:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'modelDescription'
     d->modelDescription = new RAdjustableLabel(hbox2);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:143:31: error: expected type-specifier before 'RAdjustableLabel'
     d->modelDescription = new RAdjustableLabel(hbox2);
                               ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:145:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'modelDescription'
     d->modelDescription->setAlignment(Qt::AlignVCenter | Qt::AlignRight);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:146:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'modelDescription'
     d->modelDescription->setWhatsThis(i18n("This is the camera model description string found in image meta-data. "
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:155:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'lensDescription'
     d->lensDescription  = new RAdjustableLabel(hbox3);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:155:31: error: expected type-specifier before 'RAdjustableLabel'
     d->lensDescription  = new RAdjustableLabel(hbox3);
                               ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:156:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'lensDescription'
     d->lensDescription->setAlignment(Qt::AlignVCenter | Qt::AlignRight);
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:157:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'lensDescription'
     d->lensDescription->setWhatsThis(i18n("This is the lens description string found in image meta-data. "
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp: In member function 'void Digikam::LensFunCameraSelector::slotUseMetadata(bool)':
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:321:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'makeDescription'
     d->makeDescription->setAdjustedText();
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:322:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'modelDescription'
     d->modelDescription->setAdjustedText();
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:323:8: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'lensDescription'
     d->lensDescription->setAdjustedText();
        ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp: In member function 'void Digikam::LensFunCameraSelector::refreshSettingsView()':
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:408:12: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'makeDescription'
         d->makeDescription->setAdjustedText(QString("<i>%1</i>").arg(d->iface->makeDescription()));
            ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:456:12: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'modelDescription'
         d->modelDescription->setAdjustedText(QString("<i>%1</i>").arg(d->iface->modelDescription()));
            ^
/tmp/yaourt-tmp-tajidinabd/aur-digikam-frameworks-git/src/digikam/libs/dimg/filters/lens/lensfuncameraselector.cpp:491:12: error: 'class Digikam::LensFunCameraSelector::Private' has no member named 'lensDescription'
         d->lensDescription->setAdjustedText(QString("<i>%1</i>").arg(d->iface->lensDescription()));
            ^
app/CMakeFiles/digikamcore.dir/build.make:2574: recipe for target 'app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuncameraselector.cpp.o' failed
make[2]: *** [app/CMakeFiles/digikamcore.dir/__/libs/dimg/filters/lens/lensfuncameraselector.cpp.o] Error 1
CMakeFiles/Makefile2:746: recipe for target 'app/CMakeFiles/digikamcore.dir/all' failed
make[1]: *** [app/CMakeFiles/digikamcore.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. Run PKGBUILD from Arch Linux AUR
2. The programs starts to build successfully 
3. When building the lensfuncameraselector.cpp there are errors and build fails

Actual Results:  
The build process stops with errors

Expected Results:  
Successfully build digikam as usual
Comment 1 caulier.gilles 2015-02-01 19:39:54 UTC
RAdjustableLabel have been introduced recently to libkdcraw from KF5. update this library and all will be fine.

Gilles Caulier