[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] PyQt5.10: Missing QProcess.setCreateProcessArgumentsModifier() method
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2018-01-29 16:50:19
Message-ID: 931D4464-B6B9-4FEC-9DD7-3E13BDF42032 () riverbankcomputing ! com
[Download RAW message or body]
On 29 Jan 2018, at 12:12 pm, Bohlein Stefan <stefan.bohlein@siemens-healthineers.com> wrote:
>
> Hello all,
>
> is there any reason, why QProcess.setCreateProcessArgumentsModifier() is missing at PyQt5.10?
>
> This function was introduced in Qt 5.7, and Qt documentation says, it requires "C++11".
> I installed PyQt5.10 by running "pip3 install PyQt5". Perhaps PyQt was build with an older compiler?
>
> In the past (PyQt4.x), I had to use subprocess.Popen() and subprocess.STARTUPINFO() to avoid
> opening visible cmd.exe. QProcess.setCreateProcessArgumentsModifier() should be able to
> provide the same functionality with a Qt function, with all benefits like readyReadStandardOutput()
The main reason is that it would be a pain to wrap the CreateProcessArguments class - patches welcome.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic