diff options
author | Andre Heinecke <[email protected]> | 2016-09-12 08:52:10 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-09-12 08:52:10 +0000 |
commit | d480f6b701894f78f3f4016d69c0e3b87939930b (patch) | |
tree | 863dd1bf5cc552ab7d7ce66d3d68a0337898820c | |
parent | qt: Fix tofu test. (diff) | |
download | gpgme-d480f6b701894f78f3f4016d69c0e3b87939930b.tar.gz gpgme-d480f6b701894f78f3f4016d69c0e3b87939930b.zip |
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.
-rw-r--r-- | lang/qt/src/qgpgmekeyformailboxjob.cpp | 2 | ||||
-rw-r--r-- | lang/qt/tests/t-support.cpp | 5 | ||||
-rw-r--r-- | lang/qt/tests/t-support.h | 3 |
3 files changed, 7 insertions, 3 deletions
diff --git a/lang/qt/src/qgpgmekeyformailboxjob.cpp b/lang/qt/src/qgpgmekeyformailboxjob.cpp index 0702a365..803d0e60 100644 --- a/lang/qt/src/qgpgmekeyformailboxjob.cpp +++ b/lang/qt/src/qgpgmekeyformailboxjob.cpp @@ -33,6 +33,8 @@ #include "qgpgmekeyformailboxjob.h" #include "qgpgmekeylistjob.h" +#include <QStringList> + #include <tuple> using namespace GpgME; diff --git a/lang/qt/tests/t-support.cpp b/lang/qt/tests/t-support.cpp index 2b21ce78..86372f70 100644 --- a/lang/qt/tests/t-support.cpp +++ b/lang/qt/tests/t-support.cpp @@ -33,6 +33,11 @@ #include <QTest> +#include <QProcess> +#include <QCoreApplication> +#include <QObject> +#include <QDir> + void QGpgMETest::initTestCase() { const QString gpgHome = qgetenv("GNUPGHOME"); diff --git a/lang/qt/tests/t-support.h b/lang/qt/tests/t-support.h index 74163b11..59d9a4dd 100644 --- a/lang/qt/tests/t-support.h +++ b/lang/qt/tests/t-support.h @@ -32,9 +32,6 @@ #define T_SUPPORT_H #include "interfaces/passphraseprovider.h" -#include <QtGlobal> -#include <QProcess> -#include <QCoreApplication> #include <QObject> namespace GpgME |