aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 00:46:15 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-16 10:32:15 +0200
commit153c0ee3c415f4f8bfb854b68565d10f7fc6e404 (patch)
treefc7a52e48c5287bf9c000cc8aad17da4ce8e9240 /tests
parentccade67a03e40e2a6bab3d028c3ce594e0aa4071 (diff)
Fix more compiler warnings from deprecated application attributes
Also cleanup documentation, with the exception of the "High-DPI Support in Qt Quick Controls" page, which needs to be either removed or rewritten after some fact checking. Change-Id: I3cdf1f8554f8f26627a9a5f17c2ee0038c933468 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qquickiconimage/tst_qquickiconimage.cpp1
-rw-r--r--tests/manual/buttons/buttons.cpp1
-rw-r--r--tests/manual/dialogs/dialogs.cpp1
-rw-r--r--tests/manual/headerview/main.cpp1
-rw-r--r--tests/manual/nativestyle/main.cpp1
-rw-r--r--tests/manual/testbench/main.cpp1
6 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qquickiconimage/tst_qquickiconimage.cpp b/tests/auto/qquickiconimage/tst_qquickiconimage.cpp
index bcf1231f..7dacda35 100644
--- a/tests/auto/qquickiconimage/tst_qquickiconimage.cpp
+++ b/tests/auto/qquickiconimage/tst_qquickiconimage.cpp
@@ -561,7 +561,6 @@ void tst_qquickiconimage::translucentColors()
int main(int argc, char *argv[])
{
- QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
QGuiApplication app(argc, argv);
Q_UNUSED(app);
tst_qquickiconimage test;
diff --git a/tests/manual/buttons/buttons.cpp b/tests/manual/buttons/buttons.cpp
index 1e90930d..0272522a 100644
--- a/tests/manual/buttons/buttons.cpp
+++ b/tests/manual/buttons/buttons.cpp
@@ -52,7 +52,6 @@
int main(int argc, char *argv[])
{
- QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
diff --git a/tests/manual/dialogs/dialogs.cpp b/tests/manual/dialogs/dialogs.cpp
index 73faa175..79d26c2b 100644
--- a/tests/manual/dialogs/dialogs.cpp
+++ b/tests/manual/dialogs/dialogs.cpp
@@ -53,7 +53,6 @@
int main(int argc, char *argv[])
{
- QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
diff --git a/tests/manual/headerview/main.cpp b/tests/manual/headerview/main.cpp
index b1573f08..a11f8627 100644
--- a/tests/manual/headerview/main.cpp
+++ b/tests/manual/headerview/main.cpp
@@ -204,7 +204,6 @@ private:
int main(int argc, char *argv[])
{
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
qmlRegisterType<TestTableModel>("TestTableModel", 0, 1, "TestTableModel");
diff --git a/tests/manual/nativestyle/main.cpp b/tests/manual/nativestyle/main.cpp
index aee43242..536625fb 100644
--- a/tests/manual/nativestyle/main.cpp
+++ b/tests/manual/nativestyle/main.cpp
@@ -40,7 +40,6 @@
int main(int argc, char *argv[])
{
- QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
// Todo: rename the "default" style to e.g "simple"
diff --git a/tests/manual/testbench/main.cpp b/tests/manual/testbench/main.cpp
index 0584bd6d..0ac446f4 100644
--- a/tests/manual/testbench/main.cpp
+++ b/tests/manual/testbench/main.cpp
@@ -65,7 +65,6 @@ int main(int argc, char *argv[])
{
QGuiApplication::setApplicationName("testbench");
QGuiApplication::setOrganizationName("QtProject");
- QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);