mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Allow to use system QJson. Closes #1744.
This commit is contained in:
@@ -36,8 +36,13 @@
|
||||
#include <QJsonArray>
|
||||
#else
|
||||
#include <QString>
|
||||
#ifndef USE_SYSTEM_QJSON
|
||||
#include "qjson/parser.h"
|
||||
#include "qjson/serializer.h"
|
||||
#else // USE_SYSTEM_QJSON
|
||||
#include <qjson/parser.h>
|
||||
#include <qjson/serializer.h>
|
||||
#endif // USE_SYSTEM_QJSON
|
||||
#endif
|
||||
|
||||
namespace json {
|
||||
|
||||
Reference in New Issue
Block a user