mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Fix qt5keychain includes
This commit is contained in:
@@ -33,8 +33,11 @@
|
|||||||
#include "Source.h"
|
#include "Source.h"
|
||||||
|
|
||||||
#include <qjson/serializer.h>
|
#include <qjson/serializer.h>
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
|
||||||
#include <qtkeychain/keychain.h>
|
#include <qtkeychain/keychain.h>
|
||||||
|
#else
|
||||||
|
#include <qt5keychain/keychain.h>
|
||||||
|
#endif
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
@@ -21,11 +21,15 @@
|
|||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
#include "TomahawkSettings.h"
|
#include "TomahawkSettings.h"
|
||||||
#else
|
#else
|
||||||
#include <qtkeychain/keychain.h>
|
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
|
||||||
#include <qjson/serializer.h>
|
#include <qtkeychain/keychain.h>
|
||||||
#include <qjson/parser.h>
|
#else
|
||||||
|
#include <qt5keychain/keychain.h>
|
||||||
|
#endif
|
||||||
|
#include <qjson/serializer.h>
|
||||||
|
#include <qjson/parser.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
Reference in New Issue
Block a user