Fix Qt5 nox build on non-Windows.

This commit is contained in:
sledgehammer999 2015-10-09 16:54:43 +03:00
parent 73e5bdc5b5
commit a9f14a8408

View File

@ -62,13 +62,15 @@
#include <winbase.h>
#endif
#ifndef DISABLE_GUI
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
#ifndef DISABLE_GUI
#include <QDesktopServices>
#endif
#else
#include <QStandardPaths>
#endif
#endif
using namespace libtorrent;