Commit Graph

5 Commits

Author SHA1 Message Date
Roland Winklmeier
b80f204293 Refactor CProcessCtrl to start detached with or without console
QTBUG-53833 - which caused a console application to launch with a console
if it was started with QProcess::startDetached - is fixed in 5.8.0.
There were use cases for both options - with and without console -
but not offered by Qt API. Therefore CProcessCtrl is refactored  as a
wrapper to offer both options. If no console is required, it defaults to
QProcess::startDetached. Otherwise uses its own implementation.

refs #866
2017-04-18 00:07:39 +01:00
Klaus Basan
056d205488 refs #891, unified "windows.h"
Remark: Using the lc version seems to be slightly smarter
http://stackoverflow.com/a/15466951/356726
2017-04-17 23:57:19 +01:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
26a78ac2a6 Workaround gcc warning -Wmissing-field-initializers
gcc raises a warning when initializing std::array with
empty-braces. This is fixed in gcc 5.1.1, so a workaround
for 4.9 was necessary.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36750
2016-05-24 13:12:00 +02:00
Roland Winklmeier
e12e655d70 CProcessCtrl
Derives from QProcess and adds a static method to start a detached
application without a console window.

refs #615
2016-05-20 01:42:32 +02:00