Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make qca optional, only required for TI backend. #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

doctorseus
Copy link

@doctorseus doctorseus commented May 9, 2022

Currently used in meta-nymea as additional patch: nymea/meta-nymea#23 (comment)

@@ -291,7 +293,7 @@ void ZigbeeNetworkTi::processGreenPowerFrame(const Zigbee::ApsdeDataIndication &

QByteArray ZigbeeNetworkTi::encryptSecurityKey(quint32 sourceId, const QByteArray &securityKey)
{
#if (QCA_VERSION >= QCA_VERSION_CHECK(2, 2, 0))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will probably fail to build on older distributions as you're dropping the check for version 2.2.
Ideally packagesExist would check that, but I am not aware of packagesExist offering that feature. So I guess we'll just do #if !defined (DISABLE_QCA ) && (QCA_VERSION >= QCA_VERSION_CHECK(2,2,0)) here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants