Allow building from a custom Qt more easily on windows

* Setting RENDERDOC_QT_PREFIX64 or RENDERDOC_QT_PREFIX32 environment variables
  pointing to a Qt install root will use that instead of the built-in Qt.
This commit is contained in:
baldurk
2020-08-28 15:22:25 +01:00
parent 716c72f399
commit 482bdbae6f
2 changed files with 278 additions and 262 deletions
+4 -3
View File
@@ -38,17 +38,18 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDia
if(hash[0] == QLatin1Char('N') && hash[1] == QLatin1Char('O'))
{
ui->version->setText(
QFormatStr("Version %1 (built from unknown source)").arg(lit(FULL_VERSION_STRING)));
ui->version->setText(tr("Version %1 (built from unknown source)").arg(lit(FULL_VERSION_STRING)));
}
else
{
ui->version->setText(QFormatStr("Version %1 (built from <a href='%2'>%3</a>)")
ui->version->setText(tr("Version %1 (built from <a href='%2'>%3</a>)")
.arg(lit(FULL_VERSION_STRING))
.arg(lit("https://github.com/baldurk/renderdoc/commit/%1").arg(hash))
.arg(hash.left(8)));
}
ui->version->setText(tr("%1 (Qt version %2)").arg(ui->version->text()).arg(lit(QT_VERSION_STR)));
#if defined(DISTRIBUTION_VERSION)
ui->owner->setText(QFormatStr("Baldur Karlsson - Packaged for %1").arg(lit(DISTRIBUTION_NAME)));
ui->contact->setText(QFormatStr("<a href='%1'>%1</a>").arg(lit(DISTRIBUTION_CONTACT)));
File diff suppressed because it is too large Load Diff