Change renderdoccmd to be a console program on windows.

* This means it outputs natively/properly to stdout/stderr and its output can be
  redirected with pipes.
* It does mean we need to be very careful whenever it's run internally to not
  pop up a command window, which happens by default.
This commit is contained in:
baldurk
2019-01-09 11:56:55 +00:00
parent 150e6527ad
commit d265a14a45
10 changed files with 44 additions and 38 deletions
+3
View File
@@ -1019,6 +1019,9 @@ void MainWindow::SetTitle(const QString &filename)
.arg(lit(FULL_VERSION_STRING))
.arg(QString::fromLatin1(GitVersionHash));
if(IsRunningAsAdmin())
text += tr(" (Administrator)");
if(QString::fromLatin1(RENDERDOC_GetVersionString()) != lit(MAJOR_MINOR_VERSION_STRING))
text += tr(" - !! VERSION MISMATCH DETECTED !!");