Bug 418838 - Master branch of kelpcenter fails to compile with master branch of Frameworks, and Qt 5.14 branch
Summary: Master branch of kelpcenter fails to compile with master branch of Frameworks...
Status: RESOLVED FIXED
Alias: None
Product: khelpcenter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-14 00:52 UTC by bluescreenavenger
Modified: 2020-03-21 06:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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