[Qt-creator] Dealing with python projects

Jason H jhihn at gmx.com
Wed Apr 24 18:29:52 CEST 2019

Check out this thread: https://lists.qt-project.org/pipermail/qt-creator/2019-March/007865.html

I also requested documentation on .pyproject and why a standard python project format was not used. I think it isn't meant to be a proper python IDE, just one good enough for PySide. Which is a shame.

> Sent: Tuesday, April 23, 2019 at 8:49 PM
> From: "Christian Gagneraud" <chgans at gmail.com>
> To: qt-creator <qt-creator at qt-project.org>
> Subject: [Qt-creator] Dealing with python projects
> Hi there,
> I've started to use QtCreator for some of my python-based projects.
> I've configured a python language server [1], and the result is quite
> encouraging.
> I've tried "Import Existing Project" that creates a
> "<project>.creator" project file but is imho too basic and C/C++
> oriented.
> I saw the '.pyproject' option, but i couldn't find any documentation.
> It seems to be tailored for python+Qt.
> So I recently switched to using Qbs. It currently allows me to
> organise my python files, and QtCreator is happy with this "broken"
> qbs project (broken=cannot be built).
> One interesting feature is that i can configure QtC to run the test
> webserver using a simple wrapper script. And with a project type of
> "python" (or whatever is not recognised by qbs) QtC skip the build
> process.
> What would be nice now is to have my unit tests integrated... :)
> My test command can generate JUnit XML files.
> I'm curious to know how other users deal with python projects, fancy
> share your workflow?
> Chris
> [1] https://github.com/palantir/python-language-server
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

More information about the Qt-creator mailing list