nextpnr/3rdparty/python-console
Miodrag Milanović 17d42e41db
Make GUI able to compile on both Qt5 and Qt6 (#1576)
* Use QtPropertyBrowser for Qt5/6

* Fix cmake for python-console for consistency

* Make GUI compile for both Qt5 and Qt6

* Fix crash on init with Wayland on Qt6

* Cleanup

* disable deprecation warnings for now

* Relaxed cmake check for initial Qt6 test
2025-10-15 12:19:20 +02:00
..
data initial import of python-console 2018-06-28 17:57:26 +02:00
modified pyconsole: Avoid lockup when reading from stdin 2021-02-22 10:48:21 +00:00
CMakeLists.txt Make GUI able to compile on both Qt5 and Qt6 (#1576) 2025-10-15 12:19:20 +02:00
ColumnFormatter.cpp compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
ColumnFormatter.h compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
Console.cpp few more 2018-06-28 17:57:26 +02:00
Console.h initial import of python-console 2018-06-28 17:57:26 +02:00
Interpreter.cpp move to c++11 remove console writes 2018-06-28 17:57:26 +02:00
Interpreter.h make it compile with qt5 2018-06-28 17:57:26 +02:00
LICENSE initial import of python-console 2018-06-28 17:57:26 +02:00
ParseHelper.BlockParseState.cpp move to c++11 remove console writes 2018-06-28 17:57:26 +02:00
ParseHelper.BracketParseState.cpp compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
ParseHelper.ContinuationParseState.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
ParseHelper.cpp compile in needed helpers and fix warnings 2018-06-28 17:57:26 +02:00
ParseHelper.h make GUI compile on MSVC 2018-07-05 10:14:19 +02:00
ParseListener.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
ParseListener.h initial import of python-console 2018-06-28 17:57:26 +02:00
ParseMessage.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
ParseMessage.h initial import of python-console 2018-06-28 17:57:26 +02:00
README.md initial import of python-console 2018-06-28 17:57:26 +02:00
Utils.h adapted python-console for easier use 2018-06-28 17:57:26 +02:00
test_cli.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
test_console.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
test_parse_helper.cpp initial import of python-console 2018-06-28 17:57:26 +02:00
test_python_interpreter.cpp move to c++11 remove console writes 2018-06-28 17:57:26 +02:00

README.md

python-console

This is the result of a small side project to write a Qt widget that encapsulates an interactive Python shell.

Quickstart

You should have Qt4 and Python libraries. You will need CMake to build this project as follows:

  1. mkdir build
  2. cmake ..
  3. make

License

This project is licensed under the MIT license.