[Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB #2
Alexandru Croitor
alexandru.croitor at qt.io
Thu Feb 27 13:12:08 CET 2020
> On 27. Feb 2020, at 12:22, Eike Ziller <Eike.Ziller at qt.io> wrote:
>
>
>
>> On 27. Feb 2020, at 11:55, Alexandru Croitor <alexandru.croitor at qt.io> wrote:
>>
>>
>>
>>> On 27. Feb 2020, at 11:52, Eike Ziller <Eike.Ziller at qt.io> wrote:
>>>
>>>
>>>
>>>> On 27. Feb 2020, at 11:27, Alexandru Croitor <alexandru.croitor at qt.io> wrote:
>>>>
>>>>
>>>>> On 26. Feb 2020, at 23:09, André Pönitz <apoenitz at t-online.de> wrote:
>>>>>
>>>>> Times have changed. Mac/LLDB is now on 3.x.
>>>>
>>>> Hi,
>>>>
>>>> I'll be annoying, and once again point out that this will exclude macOS <= 10.14 developers : )
>>>>
>>>> What's our current minimum supported macOS version for Qt Creator?
>>>
>>> Our binaries are built with Qt 5.14.1, and therefore support macOS 10.13.
>>> You still _can_ build Qt Creator yourself with Qt 5.11.
>>>
>>>> Would it perhaps make sense to drop Py2 support when the minimum is 10.15?
>>>
>>> Enough when the minimum is 10.14, right?
>>
>> Why 10.14? Did 10.14 already uses Python 3 for lldb?
>
> All versions of Xcode 11 so far are supported on macOS 10.14, if Wikipedia is correct.
>
> I would have assumed that this is bound to the Xcode version, not the macOS version.
It looks like you're right about Xcode 11 lldb, it loads a bundle Python framework
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Python3
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/lib-dynload/_heapq.cpython-37m-darwin.so
whereas for Xcode 10 on 10.14, lldb loads system Python libraries from
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so, etc
So 10.14 + Xcode 11 + latest Creator (no Py2) = debugging works
So 10.14 + Xcode 10 + latest Creator (no Py2) = debugging broken
I guess because we always ask for latest Xcode on a certain macOS version when using Qt,
10.14 would be a fair point to drop Py2 support from the macOS perspective.
Of course there's still other feedback.
>
>>
>>> So I suppose that would be end of this year after macOS 10.16 is out,
>>> == Qt Creator 4.14.
>>>
>>> So, how about dropping LLDB/python2 support with Qt Creator 4.14?
>>>
>>> Br, Eike
>>>
>>>>
>>>> Otherwise we'd get an interesting state of being able to build applications with Qt Creator on an older macOS that Qt Creator supports, but not debug them.
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> Qt-creator at qt-project.org
>>>> https://lists.qt-project.org/listinfo/qt-creator
>>>
>>> --
>>> Eike Ziller
>>> Principal Software Engineer
>>>
>>> The Qt Company GmbH
>>> Erich-Thilo-Straße 10
>>> D-12489 Berlin
>>> eike.ziller at qt.io
>>> http://qt.io
>>> Geschäftsführer: Mika Pälsi,
>>> Juha Varelius, Mika Harjuaho
>>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
>>
>
> --
> Eike Ziller
> Principal Software Engineer
>
> The Qt Company GmbH
> Erich-Thilo-Straße 10
> D-12489 Berlin
> eike.ziller at qt.io
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list