Bug 447436 - 0bcc4e8 causes build failure on macos -getGlobalShortcutsByKey_v2
Summary: 0bcc4e8 causes build failure on macos -getGlobalShortcutsByKey_v2
Status: REPORTED
Alias: None
Product: frameworks-kdeclarative
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources macOS
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-23 17:34 UTC by Kurt Hindenburg
Modified: 2021-12-23 17:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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