Python With Qtcreator
Python With Qtcreator
It also has syntax highlighting, but it lacks more complex features such as
autocomplete.
Click Add->Add category and create a new category (for example, Python).
Then, select the created category and click Add->Add Tool to create a new tool
- RunPy for example. Select the created tool and fill the fields on the right:
Arguments - %{CurrentDocument:FilePath}
Environment - QT_LOGGING_TO_CONSOLE=1
You can also add pyuic to it the same way: Click again on the Add->Add Tool button to
create a new tool - PyUic now. Select it again and fill the fields on the right:
Description - any value
Arguments - -o UI%{CurrentDocument:FileBaseName}.py -x %
{CurrentDocument:FilePath}
Environment - QT_LOGGING_TO_CONSOLE=1
Source:
http://stackoverflow.com/a/24121860