KConfig issues prevent compiling KDE applications under Windows

David Faure faure at kde.org
Sat Feb 4 12:49:27 UTC 2017


On samedi 4 février 2017 09:14:08 CET Matthew Dawson wrote:
> On Thursday, February 2, 2017 10:08:53 PM EST Jaroslaw Staniek wrote:
> > On 1 February 2017 at 14:34, David Faure <faure at kde.org> wrote:
> > > One note though: this is a failure to link a unittest, your release
> > > isn't
> > > blocked, you can just disable the building of unittests in kconfig.
> > > 
> > > The double definition can be explained, the unittest links to
> > > KF5ConfigCore
> > > and then also compiles in ../src/core/kconfigdata.cpp because that class
> > > is not
> > > exported.
> > 
> > Hi,
> > Apparently it is since eab822e20620 (Jan 15).
> > ​The bug #​375654 does not seem to provide version info but the fix isn't
> > just released, right? CC'd Stephen Kelly.
> 
> It seems this class was exported so it can be accessed through the Python
> bindings.  Considering it wasn't exported before, I'm wondering why it was
> exported for Python?
> 
> Since removing it would be an ABI for Python scripts and the tagging is
> happening today, can we just back out the KEntryMap API from Python?  We can
> add it back for the next release if there is a use case for it.

kconfigdata.h isn't installed, so
1) it should be called kconfigdata_p.h for clarity
2) KEntryMap isn't part of the public API for KConfig
Its presence in the python exports is wrong and unwanted, there's no reason 
for the python API to contain more classes than the C++ API.

> @David Faure, when do you plan on tagging this change?  For now I committed
> a change to the auto test so it will at least build on Windows
> (b939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9) which should be included.  Would
> there be time to remove KEntryMap before the tag/release?

Yes, I haven't tagged yet, go ahead.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list