summaryrefslogtreecommitdiffstats
path: root/tests/manual/distancefieldtext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/distancefieldtext')
-rw-r--r--tests/manual/distancefieldtext/TextScene.qml2
-rw-r--r--tests/manual/distancefieldtext/distancefieldtext.pro15
-rw-r--r--tests/manual/distancefieldtext/main.cpp5
-rw-r--r--tests/manual/distancefieldtext/main.qml2
4 files changed, 6 insertions, 18 deletions
diff --git a/tests/manual/distancefieldtext/TextScene.qml b/tests/manual/distancefieldtext/TextScene.qml
index b59e93543..6026216d1 100644
--- a/tests/manual/distancefieldtext/TextScene.qml
+++ b/tests/manual/distancefieldtext/TextScene.qml
@@ -1,5 +1,5 @@
// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import Qt3D.Core 2.0
import Qt3D.Render 2.0
diff --git a/tests/manual/distancefieldtext/distancefieldtext.pro b/tests/manual/distancefieldtext/distancefieldtext.pro
deleted file mode 100644
index 01f080917..000000000
--- a/tests/manual/distancefieldtext/distancefieldtext.pro
+++ /dev/null
@@ -1,15 +0,0 @@
-!include( ../manual.pri ) {
- error( "Couldn't find the manual.pri file!" )
-}
-
-QT += 3dcore 3drender 3dinput 3dquick qml quick 3dquickextras
-
-SOURCES += \
- main.cpp
-
-OTHER_FILES += \
- TextScene.qml \
- main.qml
-
-RESOURCES += \
- distancefieldtext.qrc
diff --git a/tests/manual/distancefieldtext/main.cpp b/tests/manual/distancefieldtext/main.cpp
index 1ed098bc0..872682acc 100644
--- a/tests/manual/distancefieldtext/main.cpp
+++ b/tests/manual/distancefieldtext/main.cpp
@@ -1,5 +1,5 @@
// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QGuiApplication>
#include <QQuickView>
@@ -7,6 +7,9 @@
int main(int argc, char **argv)
{
+ qputenv("QSG_RHI_BACKEND", "opengl");
+ qputenv("QT3D_RENDERER", "opengl");
+
QGuiApplication app(argc, argv);
QSurfaceFormat format;
diff --git a/tests/manual/distancefieldtext/main.qml b/tests/manual/distancefieldtext/main.qml
index 6f3c6ffbc..599a5d26a 100644
--- a/tests/manual/distancefieldtext/main.qml
+++ b/tests/manual/distancefieldtext/main.qml
@@ -1,5 +1,5 @@
// Copyright (C) 2016 Klaralvdalens Datakonsult AB (KDAB).
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtQuick.Scene3D 2.0