Skip to content
Commit dad8082e authored by Alex Richardson's avatar Alex Richardson Committed by Alex Richardson
Browse files

Use pkg_get_variable() to get XKBDIR

Also emit an FATAL_ERROR if xkeyboard-config is missing since right now
that results in a rather confusing build failure:
```
/Users/alex/cheri/kde-frameworks/plasma-desktop/kcms/keyboard/tastenbrett/main.cpp:42:46: error: use of undeclared identifier 'XKBDIR'
    return QStringLiteral("%1/rules/%2").arg(XKBDIR, rulesName);
                                             ^
/Users/alex/cheri/kde-frameworks/plasma-desktop/kcms/keyboard/tastenbrett/main.cpp:42:12: error: variable 'holder' cannot be implicitly captured in a lambda with no capture-default specified
    return QStringLiteral("%1/rules/%2").arg(XKBDIR, rulesName);
```
parent 5b361ebd
Pipeline #176772 passed with stage
in 5 minutes and 23 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment