Qt: More robust lookup of Cpp's context.h
authorAndre Heinecke <aheinecke@intevation.de>
Tue, 5 Jul 2016 20:10:18 +0000 (22:10 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Tue, 5 Jul 2016 20:10:18 +0000 (22:10 +0200)
* lang/qt/src/threadedjobmixin.h: When building qgpgme look for
context.h in the full cpp subdirectory.

--
Gpgme core also contains a context.h that can lead to confusion
otherwise.

lang/qt/src/threadedjobmixin.h

index 62d7f1c..b29b827 100644 (file)
@@ -41,7 +41,7 @@
 #include <QIODevice>
 
 #ifdef BUILDING_QGPGME
-# include "context.h"
+# include "lang/cpp/src/context.h"
 # include "interfaces/progressprovider.h"
 #else
 # include <gpgme++/context.h>