[Interest] Qt5.8 doesnot show consolewindow on windows os

Björn Piltz bjornpiltz at gmail.com
Thu Jan 26 13:46:39 CET 2017


https://bugreports.qt.io/browse/QTBUG-57687

2017-01-26 13:45 GMT+01:00 Björn Piltz <bjornpiltz at gmail.com>:

> Seems to be because of this: http://code.qt.io/cgit/qt/
> qtbase.git/commit/src/corelib/io/qprocess_win.cpp?id=
> bec2fc19fd18768b16925597871c77a61e716abd
>
>
>
> 2017-01-26 12:00 GMT+01:00 Günter Michel <gm at mes-ia.de>:
> >
> > In Qt5.7 starting a detached console works fine.
> >
> > void MainWindow::start()
> >
> > {
> >
> >     QProcess p;
> >
> >     QStringList args;
> >
> >     args << "/k";
> >
> >     p.startDetached("cmd", args);
> >
> > }
> >
> > In Qt5.8 Process 'cmd /k' is started, but no console window is shown.
> >
> > Any suggestions?
> >
> >
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170126/3dc11d32/attachment.html>


More information about the Interest mailing list