gpg not supported under Windows
Jasem Mutlaq
mutlaqja at ikarustech.com
Fri Jul 1 13:39:05 UTC 2016
Hello,
When trying to use KNewStuff3, I get this error:
http://pasteboard.co/25UA6x1Z.png
IIRC, gpg is not available yet in emerge. I patched KNewStuff to ignore it
under Windows. But what is the long term solution for this?
diff --git a/src/core/security.cpp b/src/core/security.cpp
index e4c7d2a..f197aa4 100644
--- a/src/core/security.cpp
+++ b/src/core/security.cpp
@@ -65,6 +65,11 @@ Security::~Security()
void Security::readKeys()
{
+ #ifdef Q_OS_WIN
+ qWarning() << "gpg is not supproted under Windows.";
+ return;
+ #endif
+
if (m_gpgRunning) {
QTimer::singleShot(5, this, SLOT(readKeys()));
return;
@@ -93,6 +98,11 @@ void Security::readKeys()
void Security::readSecretKeys()
{
+ #ifdef Q_OS_WIN
+ qWarning() << "gpg is not supproted under Windows.";
+ return;
+ #endif
+
if (m_gpgRunning) {
QTimer::singleShot(5, this, SLOT(readSecretKeys()));
return;
--
Best Regards,
Jasem Mutlaq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20160701/1c18b0cf/attachment.html>
More information about the Kde-windows
mailing list