mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 17:56:50 +03:00
Fix qbittorrent-nox compilation.
This commit is contained in:
parent
8897001567
commit
5798fb959d
1 changed files with 7 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
||||||
#include <QScopedPointer>
|
#include <QScopedPointer>
|
||||||
|
|
||||||
#ifndef DISABLE_GUI
|
#ifndef DISABLE_GUI
|
||||||
|
// GUI-only includes
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
@ -47,8 +48,13 @@ Q_IMPORT_PLUGIN(QICOPlugin)
|
||||||
Q_IMPORT_PLUGIN(qico)
|
Q_IMPORT_PLUGIN(qico)
|
||||||
#endif
|
#endif
|
||||||
#endif // QBT_STATIC_QT
|
#endif // QBT_STATIC_QT
|
||||||
#else // DISABLE_GUI
|
|
||||||
|
#else
|
||||||
|
// NoGUI-only includes
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#ifdef Q_OS_UNIX
|
||||||
|
#include "unistd.h"
|
||||||
|
#endif
|
||||||
#endif // DISABLE_GUI
|
#endif // DISABLE_GUI
|
||||||
|
|
||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
|
|
Loading…
Reference in a new issue