Bug 425954

Summary: ‘class KConfigSkeletonItem’ has no member named ‘getDefault’
Product: [Frameworks and Libraries] frameworks-kconfigwidgets Reporter: Bernhard Landauer <bernhard>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: full build log

Description Bernhard Landauer 2020-08-29 17:31:35 UTC
Created attachment 131266 [details]
full build log

SUMMARY
Latest git commit fails to build with error:

/build/kconfigwidgets-git/src/kconfigwidgets/src/kconfigdialogmanager.cpp: In member function ‘void KConfigDialogManagerPrivate::updateWidgetIndicator(const QString&, QWidget*)’:
/build/kconfigwidgets-git/src/kconfigwidgets/src/kconfigdialogmanager.cpp:614:37: error: ‘class KConfigSkeletonItem’ has no member named ‘getDefault’; did you mean ‘setDefault’?
  614 |     const auto defaultValue = item->getDefault();
      |                                     ^~~~~~~~~~
      |                                     setDefault

full build log is attached.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Comment 1 Nicolas Fella 2020-08-29 18:06:17 UTC
I think you need to update your KConfig to include https://invent.kde.org/frameworks/kconfig/-/commit/60f18e6c3c816f4bca7c72e5a4f114787309485a
Comment 2 Bernhard Landauer 2020-08-29 18:23:45 UTC
I am unable to build latest kconfig ... ;)
Comment 3 Nicolas Fella 2020-08-29 18:36:13 UTC
Your error is in kconfig*widgets*, not kconfig, which is a separate repository