aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/highdpi/highdpi.pro
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2015-01-15 13:38:40 +0100
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-02-13 19:22:39 +0000
commit428b92583ee2102c7ef16776a9b7785df7ff4e2c (patch)
treec04e51093d4eb31ea248a035deb52c66d265a576 /tests/manual/highdpi/highdpi.pro
parent5b31071e56ef6e241e27b66ff91f4e9222f2cddb (diff)
High-dpi SVG and QQuickImageProvider Images
Scale sourceSize by the target devicePixelRatio before passing it to the providers. Task-number: QTBUG-38127 Task-number: QTBUG-38991 Change-Id: I1746e0859b4e63eb0d28d1a1c8aac610b68a9eb9 Reviewed-by: Jocelyn Turcotte <jturcotte@woboq.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'tests/manual/highdpi/highdpi.pro')
-rw-r--r--tests/manual/highdpi/highdpi.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/manual/highdpi/highdpi.pro b/tests/manual/highdpi/highdpi.pro
new file mode 100644
index 0000000000..a434f848ae
--- /dev/null
+++ b/tests/manual/highdpi/highdpi.pro
@@ -0,0 +1,13 @@
+TEMPLATE = lib
+CONFIG += plugin
+QT += qml quick
+
+DESTDIR = ImageProvider
+TARGET = qmlimageproviderplugin
+
+SOURCES += imageprovider.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider
+qml.files = ImageProvider/qmldir
+qml.path = $$[QT_INSTALL_EXAMPLES]/quick/imageprovider/ImageProvider
+INSTALLS = target qml