[Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB

Nikos Chantziaras realnc at gmail.com
Fri Feb 22 03:44:42 CET 2019


On 21/02/2019 21:51, André Pönitz wrote:
> I am therefore pondering the idea of dropping support for Python 2.x,
> and I'd like to gauge the potential heat such a move will draw.

Creator requires at least C++11, I think? So if a system has that, it 
stands to reason to assume Python 3 is also available.


> What do people see as output of the following:
> 
>      python --version
>      python3 --version
>      gdb -version
>      gdb -batch -ex 'py import sys' -ex 'py print(sys.version)'
>      lldb -version
>      lldb -batch -o 'sc import sys' -o 'sc print(sys.version)


$  python --version
Python 3.6.6

$ python3 --version
Python 3.6.6

$ gdb -version
GNU gdb (Gentoo 8.2.1 p1) 8.2.1

$ lldb -version
bash: lldb: command not found



More information about the Qt-creator mailing list