qt: Add missing header redirection
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 08:44:41 +0000 (10:44 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 5 Sep 2016 08:44:41 +0000 (10:44 +0200)
* 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++.

lang/qt/src/keyformailboxjob.h
lang/qt/src/qgpgmekeyformailboxjob.h

index 9e76df5..d8b6c6b 100644 (file)
 
 #include "job.h"
 
-#include <gpgme++/key.h>
+#ifdef BUILDING_QGPGME
+# include "key.h"
+#else
+# include <gpgme++/key.h>
+#endif
+
 namespace GpgME
 {
 class Error;
index 02a16d3..8ac2c1f 100644 (file)
 
 #include "threadedjobmixin.h"
 
-#include <gpgme++/keylistresult.h>
-#include <gpgme++/key.h>
+#ifdef BUILDING_QGPGME
+# include "keylistresult.h"
+# include "key.h"
+#else
+# include <gpgme++/keylistresult.h>
+# include <gpgme++/key.h>
+#endif
 
 namespace QGpgME
 {