Bug 425954 - ‘class KConfigSkeletonItem’ has no member named ‘getDefault’
Summary: ‘class KConfigSkeletonItem’ has no member named ‘getDefault’
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kconfigwidgets
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-29 17:31 UTC by Bernhard Landauer
Modified: 2020-08-29 18:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
full build log (9.11 KB, text/plain)
2020-08-29 17:31 UTC, Bernhard Landauer
Details

Note You need to log in before you can comment on or make changes to this bug.
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