mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Fix Qt5 nox build on non-Windows.
This commit is contained in:
parent
73e5bdc5b5
commit
a9f14a8408
1 changed files with 4 additions and 2 deletions
|
@ -62,13 +62,15 @@
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_GUI
|
|
||||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||||
|
|
||||||
|
#ifndef DISABLE_GUI
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue