qt: Fix some includes

* lang/qt/src/qgpgmekeyformailboxjob.cpp: Explicitly include
QStringList.
* lang/qt/tests/t-support.h, lang/qt/tests/t-support.cpp: Move
includes into impl. Explicitly include QDir.

--
This fixes build against Qt versions where the includes are less
implicit.
This commit is contained in:
Andre Heinecke 2016-09-12 10:52:10 +02:00
parent 7b9e6ea376
commit d480f6b701
3 changed files with 7 additions and 3 deletions

View File

@ -33,6 +33,8 @@
#include "qgpgmekeyformailboxjob.h" #include "qgpgmekeyformailboxjob.h"
#include "qgpgmekeylistjob.h" #include "qgpgmekeylistjob.h"
#include <QStringList>
#include <tuple> #include <tuple>
using namespace GpgME; using namespace GpgME;

View File

@ -33,6 +33,11 @@
#include <QTest> #include <QTest>
#include <QProcess>
#include <QCoreApplication>
#include <QObject>
#include <QDir>
void QGpgMETest::initTestCase() void QGpgMETest::initTestCase()
{ {
const QString gpgHome = qgetenv("GNUPGHOME"); const QString gpgHome = qgetenv("GNUPGHOME");

View File

@ -32,9 +32,6 @@
#define T_SUPPORT_H #define T_SUPPORT_H
#include "interfaces/passphraseprovider.h" #include "interfaces/passphraseprovider.h"
#include <QtGlobal>
#include <QProcess>
#include <QCoreApplication>
#include <QObject> #include <QObject>
namespace GpgME namespace GpgME