summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2015-02-10 21:28:29 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-02-10 21:28:29 +0000
commit638c278b76c56a51f83ef8c5cc9c03f18a887f74 (patch)
tree343a565c3f1cf6a4598f60a464393726ffa8dae9
parenta44897902130c68626dab450fce1a9e3be8baae1 (diff)
parent2c49b07f88b5f3eee17ccbdbf2a2e7e1dc43a4bb (diff)
downloadqttools-638c278b76c56a51f83ef8c5cc9c03f18a887f74.tar.gz
qttools-638c278b76c56a51f83ef8c5cc9c03f18a887f74.tar.bz2
qttools-638c278b76c56a51f83ef8c5cc9c03f18a887f74.zip
Merge "Merge remote-tracking branch 'origin/5.4.1' into 5.4" into refs/staging/5.4
-rw-r--r--LICENSE.LGPLv212
-rw-r--r--LICENSE.LGPLv32
-rw-r--r--src/assistant/assistant/mainwindow.cpp4
-rw-r--r--src/designer/src/designer/versiondialog.cpp4
-rw-r--r--src/linguist/linguist/mainwindow.cpp4
-rw-r--r--src/linguist/lrelease/lrelease.12
-rw-r--r--src/linguist/lupdate/lupdate.12
-rw-r--r--src/qconfig/main.cpp4
-rw-r--r--src/qdbus/qdbusviewer/mainwindow.cpp4
-rw-r--r--src/qtdiag/qtdiag.cpp9
10 files changed, 23 insertions, 14 deletions
diff --git a/LICENSE.LGPLv21 b/LICENSE.LGPLv21
index 341aa9ee..d26836dc 100644
--- a/LICENSE.LGPLv21
+++ b/LICENSE.LGPLv21
@@ -1,6 +1,6 @@
GNU LESSER GENERAL PUBLIC LICENSE
- The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+ The Qt Toolkit is Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
Contact: http://www.qt-project.org/legal
You may use, distribute and copy the Qt GUI Toolkit under the terms of
diff --git a/LICENSE.LGPLv3 b/LICENSE.LGPLv3
index aed671a0..747fb695 100644
--- a/LICENSE.LGPLv3
+++ b/LICENSE.LGPLv3
@@ -1,6 +1,6 @@
GNU LESSER GENERAL PUBLIC LICENSE
- The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+ The Qt Toolkit is Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
Contact: http://www.qt-project.org/legal
You may use, distribute and copy the Qt GUI Toolkit under the terms of
diff --git a/src/assistant/assistant/mainwindow.cpp b/src/assistant/assistant/mainwindow.cpp
index 8b7afc74..f040c228 100644
--- a/src/assistant/assistant/mainwindow.cpp
+++ b/src/assistant/assistant/mainwindow.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Assistant of the Qt Toolkit.
@@ -895,7 +895,7 @@ void MainWindow::showAboutDialog()
"<h3>%1</h3>"
"<p>Version %2</p></center>"
"<p>Copyright (C) %3 Digia Plc and/or its subsidiary(-ies).</p>")
- .arg(tr("Qt Assistant"), QLatin1String(QT_VERSION_STR), QStringLiteral("2014")),
+ .arg(tr("Qt Assistant"), QLatin1String(QT_VERSION_STR), QStringLiteral("2015")),
resources);
QLatin1String path(":/qt-project.org/assistant/images/assistant-128.png");
aboutDia.setPixmap(QString(path));
diff --git a/src/designer/src/designer/versiondialog.cpp b/src/designer/src/designer/versiondialog.cpp
index ff42c26b..32ba9f72 100644
--- a/src/designer/src/designer/versiondialog.cpp
+++ b/src/designer/src/designer/versiondialog.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
@@ -165,7 +165,7 @@ VersionDialog::VersionDialog(QWidget *parent)
lbl->setText(tr("%1"
"<br/>Copyright (C) %2 Digia Plc and/or its subsidiary(-ies)."
- ).arg(version, QStringLiteral("2014")));
+ ).arg(version, QStringLiteral("2015")));
lbl->setWordWrap(true);
lbl->setOpenExternalLinks(true);
diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp
index 59393c69..0c9d9232 100644
--- a/src/linguist/linguist/mainwindow.cpp
+++ b/src/linguist/linguist/mainwindow.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Linguist of the Qt Toolkit.
@@ -1338,7 +1338,7 @@ void MainWindow::about()
"<p>Qt Linguist is a tool for adding translations to Qt "
"applications.</p>"
"<p>Copyright (C) %2 Digia Plc and/or its subsidiary(-ies)."
- ).arg(version, QStringLiteral("2014")));
+ ).arg(version, QStringLiteral("2015")));
box.setWindowTitle(QApplication::translate("AboutDialog", "Qt Linguist"));
box.setIcon(QMessageBox::NoIcon);
diff --git a/src/linguist/lrelease/lrelease.1 b/src/linguist/lrelease/lrelease.1
index 1852edce..e63521ea 100644
--- a/src/linguist/lrelease/lrelease.1
+++ b/src/linguist/lrelease/lrelease.1
@@ -1,6 +1,6 @@
.TH lrelease 1 "18 October 2001" "Digia Plc and/or its subsidiary(-ies)" \" -*- nroff -*-
.\"
-.\" Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+.\" Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
.\" Contact: http://www.qt-project.org/legal
.\"
.\" This file is part of the QtGui module of the Qt Toolkit.
diff --git a/src/linguist/lupdate/lupdate.1 b/src/linguist/lupdate/lupdate.1
index 844ae171..1d9f5de5 100644
--- a/src/linguist/lupdate/lupdate.1
+++ b/src/linguist/lupdate/lupdate.1
@@ -1,6 +1,6 @@
.TH lupdate 1 "18 October 2001" "Digia Plc and/or its subsidiary(-ies)" \" -*- nroff -*-
.\"
-.\" Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+.\" Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
.\" Contact: http://www.qt-project.org/legal
.\"
.\" This file is part of the QtGui module of the Qt Toolkit.
diff --git a/src/qconfig/main.cpp b/src/qconfig/main.cpp
index db6b0a67..28616926 100644
--- a/src/qconfig/main.cpp
+++ b/src/qconfig/main.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the tools applications of the Qt Toolkit.
@@ -511,7 +511,7 @@ void Main::about()
"<p><b><font size=\"+2\">Qtopia Core build configuration</font></b></p>"
"<p></p>"
"<p>Version 2.0</p>"
- "<p>Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).</p>"
+ "<p>Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).</p>"
"<p></p>"
);
}
diff --git a/src/qdbus/qdbusviewer/mainwindow.cpp b/src/qdbus/qdbusviewer/mainwindow.cpp
index 48feacd4..14565897 100644
--- a/src/qdbus/qdbusviewer/mainwindow.cpp
+++ b/src/qdbus/qdbusviewer/mainwindow.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the tools applications of the Qt Toolkit.
@@ -95,7 +95,7 @@ void MainWindow::about()
"<h3>%1</h3>"
"<p>Version %2</p></center>"
"<p>Copyright (C) %3 Digia Plc and/or its subsidiary(-ies).</p>")
- .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), QStringLiteral("2014")));
+ .arg(tr("D-Bus Viewer"), QLatin1String(QT_VERSION_STR), QStringLiteral("2015")));
box.setWindowTitle(tr("D-Bus Viewer"));
box.exec();
}
diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp
index 15ae0655..17480ee3 100644
--- a/src/qtdiag/qtdiag.cpp
+++ b/src/qtdiag/qtdiag.cpp
@@ -62,6 +62,7 @@
#include <private/qguiapplication_p.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformtheme.h>
+#include <qpa/qplatformnativeinterface.h>
#include <algorithm>
@@ -376,6 +377,14 @@ QString qtDiag(unsigned flags)
#else
Q_UNUSED(flags)
#endif // !QT_NO_OPENGL
+
+ // On Windows, this will provide addition GPU info similar to the output of dxdiag.
+ const QVariant gpuInfoV = QGuiApplication::platformNativeInterface()->property("gpu");
+ if (gpuInfoV.type() == QVariant::Map) {
+ const QString description = gpuInfoV.toMap().value(QStringLiteral("printable")).toString();
+ if (!description.isEmpty())
+ str << "\nGPU:\n" << description;
+ }
return result;
}