[Qt-creator] Qt for Python / deploy to Remote Linux Target

Christian Kandeler Christian.Kandeler at qt.io
Fri May 17 12:18:34 CEST 2019


On Thu, 16 May 2019 14:40:36 -0300
Pablo Rogina <pablojr at gmail.com> wrote:

> So far I've tried 2 things:
> 1. created a Python project in Qt Creator but I'm not currently able
> to get the list of files to deploy populated. I used a .pro file with
> INSTALLS variable but it didn't work either

That description is a bit vague. What didn't work and how?
The deployment mechanism is generic. There is nothing special about Python files.

> In both cases, in the Run Settings I used a Custom Executable (remote
> device) where I used python as the remote executable and the name of
> the initial Python script (i.e. main.py) as command line arguments.

Right, that should work.

> And something annoying in both cases is that I created a kit with the generic Linux
> device but removed the compiler settings and it's showing an exclamation sign icon.

Yes, because Qt Creator is traditionally C++-centric, and most users would configure such a kit only by accident. Perhaps we should get rid of this assumption in the future, but the warning is harmless anyway.


Christian


More information about the Qt-creator mailing list