diff options
| author | Andre Heinecke <[email protected]> | 2017-03-22 15:34:29 +0000 | 
|---|---|---|
| committer | Andre Heinecke <[email protected]> | 2017-03-22 15:43:33 +0000 | 
| commit | 121873b821636052c10d9e0bd885eb9013c52096 (patch) | |
| tree | dfcdbb8bd59ee023a8352db0719ab6740b70d1b5 /lang/qt/tests/t-support.cpp | |
| parent | python: Improve Python detection. (diff) | |
| download | gpgme-121873b821636052c10d9e0bd885eb9013c52096.tar.gz gpgme-121873b821636052c10d9e0bd885eb9013c52096.zip | |
qt: Initialize library first in tests
* lang/qt/tests/t-support.cpp (QGpgMETest::initTestCase): Initialize
library.
Diffstat (limited to 'lang/qt/tests/t-support.cpp')
| -rw-r--r-- | lang/qt/tests/t-support.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/lang/qt/tests/t-support.cpp b/lang/qt/tests/t-support.cpp index 857d0a39..b3a7a703 100644 --- a/lang/qt/tests/t-support.cpp +++ b/lang/qt/tests/t-support.cpp @@ -34,6 +34,7 @@  #endif  #include "t-support.h" +#include "context.h"  #include <QTest> @@ -44,6 +45,7 @@  void QGpgMETest::initTestCase()  { +    GpgME::initializeLibrary();      const QString gpgHome = qgetenv("GNUPGHOME");      QVERIFY2(!gpgHome.isEmpty(), "GNUPGHOME environment variable is not set.");  } | 
