Page MenuHome GnuPG

Gpg4win support for Windows Vista and XP for the Qt5 relevant parts (pinentry-qt and kleopatra)
Closed, ResolvedPublic

Description

If pinentry-qt is started in Windows XP or Vista, it does not work with an error message like

Der Prozedureinsprungpunkt "CancelIoEx" wurde in der DLL "KERNEL32.dll" nicht gefunden.

or

"The procedure entry point CancelIOEx could not be located in the dynamic link library KERNEL32.dll"

A start of kleopatra fails with

"This application failed to start because it could not find or load the Qt platform plugin "windows"..."

It is very likely that this is caused by a version of Qt5 that does not support XP and Vista anymore.
https://bugreports.qt.io/browse/QTBUG-58407

Possible solutions would be:

  1. fix our Qt version to support it again
  2. use an older Qt version. E.g. QT LTS version 5.6 still supports XP and Vista: http://doc.qt.io/qt-5.6/supported-platforms.html which is supported until March 16th 2019 (see https://doc.qt.io/qt-5/supported-platforms-and-configurations.html).
  3. we live without XP and VISTA (vista's extended support ended on 11th of April 2017).

Event Timeline

CancelIoEx is supported by Vista.

Someone described this issue with Windows Vista as well.

He fixed it for him in a way, that he redirected the call to an alternate [[ http://lists.wald.intevation.org/pipermail/gpg4win-users-en/2017-September/001430.html | pinentry ]], that doesn't use the new QT Version. It doesn't fix the Problem, It is just a workaround.

I think, in order to ship a working Version of Kleopatra, Pinentry and GnuPG 2.2, we must continue the gpg4win-2 branch. We can use an older Pinentry and Kleopatra there, that doesn't relay on the newer QT Version in order to keep compatibility with Windows Vista and Windows XP.

GnuPG is definitely not affected. I do my release test on Vista Ultimate Pro (or whatever it was called)

werner triaged this task as Normal priority.Oct 5 2017, 9:29 AM
aheinecke claimed this task.
aheinecke added a subscriber: aheinecke.

Duplicated problem. Solution for the installer is described in: T3434