fix ios build
All checks were successful
buildbot/DocsGenerator Build finished.
buildbot/AndroidBuilder_v8Qt6 Build finished.
buildbot/LinuxCMakeBuilderQt6 Build finished.
buildbot/IOSCMakeBuilder Build finished.
buildbot/WindowsCMakeBuilder Build finished.

This commit is contained in:
Andrei Yankovich 2024-01-21 18:33:48 +01:00
parent 53c73c2913
commit 78ceff0f09
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#include "qasecretservice.h"
#ifdef Q_OS_LINUX
#include <QProcess>
QByteArray QuasarAppUtils::QASecretService::getByAlias(const QString &alias) {
@ -38,3 +40,4 @@ QByteArray QuasarAppUtils::QASecretService::getByHash(const QByteArray &hash)
// drop \n
return result.left(result.size() - 1);
}
#endif

View File

@ -24,9 +24,11 @@ class QASecretService
public:
QASecretService();
#ifdef Q_OS_LINUX
static QByteArray getByAlias(const QString& alias);
static QByteArray getByHash(const QByteArray& hash);
#endif
};
}