https://bugs.kde.org/show_bug.cgi?id=418837

            Bug ID: 418837
           Summary: Master fails to compile with master branch of
                    Frameworks, and Qt 5.14 branch
           Product: kpat
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: co...@kde.org
          Reporter: bluescreenaven...@gmail.com
                CC: kde-games-b...@kde.org
  Target Milestone: ---

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...


[ 22%] Building CXX object
libkcardgame/CMakeFiles/kcardgame.dir/kcardtheme.cpp.o
/srcbuild/kpat/libkcardgame/kcardtheme.cpp: In constructor
‘KCardTheme::KCardTheme(const QString&)’:
/srcbuild/kpat/libkcardgame/kcardtheme.cpp:154:50: error: ‘class QStringList’
has no member named ‘toSet’; did you mean ‘takeAt’?
                                supportedFeatures.toSet(),
                                                  ^~~~~
                                                  takeAt
make[2]: *** [libkcardgame/CMakeFiles/kcardgame.dir/build.make:158:
libkcardgame/CMakeFiles/kcardgame.dir/kcardtheme.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/srcbuild/kpat/libkcardgame/kcardscene.cpp: In member function ‘void
KCardScene::setHighlightedItems(const QList<QGraphicsItem*>&)’:
/srcbuild/kpat/libkcardgame/kcardscene.cpp:768:52: error: ‘fromList’ is not a
member of ‘QSet<QGraphicsItem*>’
     QSet<QGraphicsItem*> s = QSet<QGraphicsItem*>::fromList( items );
                                                    ^~~~~~~~
make[2]: *** [libkcardgame/CMakeFiles/kcardgame.dir/build.make:145:
libkcardgame/CMakeFiles/kcardgame.dir/kcardscene.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:388:
libkcardgame/CMakeFiles/kcardgame.dir/all] Error 2
make: *** [Makefile:158: all] Error 2
PackageInstallSource finished in 0 seconds with result 2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to