[PyQt] Missing QMap<double, T> binding

Giuseppe Corbelli corbelligiuseppe at mesdan.it
Mon Jun 3 09:07:03 BST 2019


On 5/31/19 4:24 PM, Phil Thompson wrote:
> On 31/05/2019 14:32, Giuseppe Corbelli wrote:
>> Hi all
>> as far as I understand the whole system the templated QMap %MappedType
>> declaration in qpycore_qmap.sip does not work with double type as key
>> (for all POD types?).
>>
>> I am attaching a QMap<double, T> partial specialization that may be
>> fit for inclusion sooner or later.
> 
> There is no intention to support all types - only those actually needed 
> by PyQt.

Well, that would be an impossible task.
To be crystal clear: you don't see in adding & sharing such template so 
I should use it as a part of my project, correct?

Thanks
-- 
Giuseppe Corbelli


More information about the PyQt mailing list