detecting Windows 10 [was: Re: [PATCH] Fix Bluetooth address truncation]

Lubomir I. Ivanov neolit123 at gmail.com
Sun Sep 20 02:56:43 PDT 2015


On 20 September 2015 at 07:03, Dirk Hohndel <dirk at hohndel.org> wrote:
> On Sun, Sep 20, 2015 at 01:18:00PM +0930, Steve wrote:
>>
>> Thanks Claudiu, these patches fixed the issue perfectly. Both HW OSTC and SW Petrel devices worked well.
>
> Thanks for verifying! The patches made it to Beta 2, so hopefully we'll
> get some more testing. So far there appears to be only one person who has
> tested my Beta 2 binaries, though :-)
>
> One other thing I notice... I have not a single entry for "Windows 10" and
> looking at the code I don't think we have a correct test here.
>
> Thiago, can you help us out here?
>

here is my quick attempt,
this assumes that Qt 5.5 has the means to find the Windows 10.0
version at runtime. the WINAPI broke the standard GetVersion(Ex) for
versions >= 8.1, but i see that Qt handles that in qglobal.cpp.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SubsurfaceSysInfo-detect-Windows-10-in-winVer_helper.patch
Type: text/x-patch
Size: 875 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150920/39875e51/attachment.bin>


More information about the subsurface mailing list