From ae33a0003b14ebbcf349010b2a48150a2b4dd77c Mon Sep 17 00:00:00 2001 From: ubbo Date: Sun, 15 Jan 2012 00:31:30 +0000 Subject: hint to possibly fix newer gpgme for win git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@740 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index cde3577..6321e02 100644 --- a/main.cpp +++ b/main.cpp @@ -53,6 +53,9 @@ int main(int argc, char *argv[]) #ifndef GPG4USB_NON_PORTABLE // take care of gpg not creating directorys on harddisk putenv(QString("GNUPGHOME=" + appPath + "/keydb").toAscii().data()); + + // this may help with newer gpgme versions on windows + //putenv(QString("GPGME_GPGPATH=" + appPath.replace("/", "\\") + "\\bin\\gpg.exe").toAscii().data()); // QSettings uses org-name for automatically setting path... app.setOrganizationName("conf"); -- cgit v1.2.3