Bug 418838

Summary: Master branch of kelpcenter fails to compile with master branch of Frameworks, and Qt 5.14 branch
Product: [Applications] khelpcenter Reporter: bluescreenavenger
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED FIXED    
Severity: normal CC: yurchor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description bluescreenavenger 2020-03-14 00:52:13 UTC
It's odd that this worked before with 5.14, and I can't figure out what exactly changed, but it seems that .toSet is no longer defined...





[ 50%] Building CXX object CMakeFiles/kdeinit_khelpcenter.dir/navigatorappitem.cpp.o
/srcbuild/khelpcenter/searchhandlers/cachereader.cpp: In member function ‘QSet<QString> CacheReader::documents() const’:
/srcbuild/khelpcenter/searchhandlers/cachereader.cpp:108:25: error: ‘fromList’ is not a member of ‘QSet<QString>’
   return QSet<QString>::fromList( mRanges.uniqueKeys() );
                         ^~~~~~~~
make[2]: *** [searchhandlers/CMakeFi
Comment 1 bluescreenavenger 2020-03-14 21:58:36 UTC
I found out that this is because of the Deprecations being enabled by cmake with the existence of the .git folder.