aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/qt/tests/t-keylocate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp
index 43aaf1c4..5f52cc30 100644
--- a/lang/qt/tests/t-keylocate.cpp
+++ b/lang/qt/tests/t-keylocate.cpp
@@ -35,6 +35,7 @@
#include "keylistjob.h"
#include "protocol.h"
#include "keylistresult.h"
+#include "engineinfo.h"
using namespace QGpgME;
using namespace GpgME;
@@ -88,6 +89,9 @@ private Q_SLOTS:
void testKeyLocateSingle()
{
+ if (GpgME::engineInfo(GpgME::GpgEngine).engineVersion() < "2.0.10") {
+ return;
+ }
auto *job = openpgp()->locateKeysJob();
mTestpattern = QStringLiteral("[email protected]");