4 Commits

Author SHA1 Message Date
Nyall Dawson
a39e1625c0 [api] Add new class to run a process in a blocking manner without
QEventLoop related issues on the main thread

This class should be used whenever a blocking process run is required.
Unlike implementations which rely on QApplication::processEvents()
or creation of a QEventLoop, this class is completely thread safe
and can be used on either the main thread or background threads without
issue.

Execution supports use of a QgsFeedback object to support termination
of the process.
2021-01-07 06:01:39 +10:00
Nyall Dawson
d1761bdb15 Port QProcess::splitCommand from qt 5.15
This is a useful method, and desirable in Qt < 5.15. It's also not
exposed currently to Python, so this doubles as a way for plugins
to use this method.
2021-01-07 06:01:39 +10:00
Peter Petrik
1559013270 support platforms that does not have QProcess support (iOS) 2018-11-13 10:48:02 +01:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00