QtCreator support for Python / PyQt.

Stefan Seefeld stefan at seefeld.name
Thu Oct 22 15:21:33 BST 2020

On 2020-10-22 9:38 a.m., Giuseppe Corbelli wrote:
> On 10/21/20 10:12 PM, Stefan Seefeld wrote:
>> Thanks, but that seems to be focused on editing (code completion 
>> etc.), while I'm looking for workflow customizations to adapt stages 
>> like "build" and "test" to Python code. In particular, I'm looking 
>> for ways to make qtcreator recognize and integrate pytest tests so 
>> doing a test run of my hybrid C++/Python project can also run pytest 
>> (and list all the individual tests with their test result).
> In the Project properties you can define one or more Build Steps 
> (which can also be test steps of course). Depending on the tool output 
> you may need to define custom output parsers.
> Probably a little cumbersome, but I think you should be able to get 
> something working.

Yeah, but that "something" isn't good enough to warrant the term 
"integration". What I'd expect from real pytest support is the ability 
to introspect the test suite, i.e. select individual tests and execute 
them separately, just as qtcreator supports for other testing harnesses 
such as google tests, boost tests, or qtests.

So perhaps I need to rephrase my question: does anyone in this community 
with experience with C++ and Python development have experience with 
qtcreator's support for Pythonic development workflows ?



       ...ich hab' noch einen Koffer in Berlin...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201022/b9b35b50/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .signature.png
Type: image/png
Size: 2754 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201022/b9b35b50/attachment.png>

More information about the PyQt mailing list