Bug 447436

Summary: 0bcc4e8 causes build failure on macos -getGlobalShortcutsByKey_v2
Product: [Frameworks and Libraries] frameworks-kdeclarative Reporter: Kurt Hindenburg <khindenburg>
Component: generalAssignee: Marco Martin <notmart>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kurt Hindenburg 2021-12-23 17:34:16 UTC
https://invent.kde.org/frameworks/kdeclarative/-/commit/0bcc4e8e5503008632aca51586716f57290262b3

Perhaps this needs a required version? 

/Volumes/Devel/KDE/src/frameworks/kdeclarative/src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:134:33: error: no member named 'getGlobalShortcutsByKey_v2' in 'KGlobalAccel'; did you mean 'getGlobalShortcutsByKey'?
        others << KGlobalAccel::getGlobalShortcutsByKey_v2(keySequence);
                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                getGlobalShortcutsByKey
Comment 1 Kurt Hindenburg 2021-12-23 17:39:40 UTC
I build frameworks from master source on macos

/Volumes/Devel/KDE/src/frameworks/kdeclarative/src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:134:33: error: no member named 'getGlobalShortcutsByKey_v2' in 'KGlobalAccel'; did you mean 'getGlobalShortcutsByKey'?
        others << KGlobalAccel::getGlobalShortcutsByKey_v2(keySequence);
                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                getGlobalShortcutsByKey
/Volumes/Devel/KDE/binary/include/KF5/KGlobalAccel/kglobalaccel.h:140:39: note: 'getGlobalShortcutsByKey' declared here
    static QList<KGlobalShortcutInfo> getGlobalShortcutsByKey(const QKeySequence &seq);
                                      ^
/Volumes/Devel/KDE/src/frameworks/kdeclarative/src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:137:33: error: no member named 'getGlobalShortcutsByKey_v2' in 'KGlobalAccel'; did you mean 'globalShortcutsByKey'?
        shadow << KGlobalAccel::getGlobalShortcutsByKey_v2(keySequence, KGlobalAccel::MatchType::Shadows);
                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                globalShortcutsByKey
/Volumes/Devel/KDE/binary/include/KF5/KGlobalAccel/kglobalaccel.h:142:39: note: 'globalShortcutsByKey' declared here
    static QList<KGlobalShortcutInfo> globalShortcutsByKey(const QKeySequence &seq, MatchType type = Equal);
                                      ^
/Volumes/Devel/KDE/src/frameworks/kdeclarative/src/qmlcontrols/kquickcontrols/private/keysequencehelper.cpp:138:35: error: no member named 'getGlobalShortcutsByKey_v2' in 'KGlobalAccel'; did you mean 'globalShortcutsByKey'?
        shadowed << KGlobalAccel::getGlobalShortcutsByKey_v2(keySequence, KGlobalAccel::MatchType::Shadowed);
                    ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
                                  globalShortcutsByKey
/Volumes/Devel/KDE/binary/include/KF5/KGlobalAccel/kglobalaccel.h:142:39: note: 'globalShortcutsByKey' declared here
    static QList<KGlobalShortcutInfo> globalShortcutsByKey(const QKeySequence &seq, MatchType type = Equal);