qt: Add missing header redirection

* lang/qt/src/keyformailboxjob.h,
lang/qt/src/qgpgmekeyformailboxjob.h: Fix includes.

--
This ensures that when building qgpgme you do not need an installed
gpgme++.
This commit is contained in:
Andre Heinecke 2016-09-05 10:44:41 +02:00
parent e3a4697894
commit 8a39a595eb
2 changed files with 13 additions and 3 deletions

View File

@ -36,7 +36,12 @@
#include "job.h" #include "job.h"
#ifdef BUILDING_QGPGME
# include "key.h"
#else
# include <gpgme++/key.h> # include <gpgme++/key.h>
#endif
namespace GpgME namespace GpgME
{ {
class Error; class Error;

View File

@ -38,8 +38,13 @@
#include "threadedjobmixin.h" #include "threadedjobmixin.h"
#ifdef BUILDING_QGPGME
# include "keylistresult.h"
# include "key.h"
#else
# include <gpgme++/keylistresult.h> # include <gpgme++/keylistresult.h>
# include <gpgme++/key.h> # include <gpgme++/key.h>
#endif
namespace QGpgME namespace QGpgME
{ {