From 5d35acf20a0438118fae10c9b1e7fda0694657c1 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Mon, 7 Apr 2014 18:49:50 +0200 Subject: providers:checkbox: fix graphics/screen-resolution This job was accessing $CHECKBOX_SHARE/scripts/resolution_test.qml. The qml file was not executable and thus would not be installed or discovered as an executable. This patch moves the qml file to the data/ directory and updates the job to refer to it with $PLAINBOX_PROVIDER_DATA/ Signed-off-by: Zygmunt Krynicki --- data/resolution_test.qml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 data/resolution_test.qml (limited to 'data') diff --git a/data/resolution_test.qml b/data/resolution_test.qml new file mode 100644 index 0000000..b718bd0 --- /dev/null +++ b/data/resolution_test.qml @@ -0,0 +1,37 @@ +/* + * This file is part of Checkbox. + * + * Copyright 2013 Canonical Ltd. + * Written by: + * Sylvain Pineau + * + * Checkbox is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3, + * as published by the Free Software Foundation. + * + * Checkbox is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Checkbox. If not, see . + */ + +import QtQuick 2.0 +import QtQuick.Window 2.0 + +Rectangle { + border.color: "lime" + border.width: 15 + color: "transparent" + Text { + anchors.centerIn: parent + text: Screen.width + " x " + Screen.height + font.bold: true + font.pointSize: 80 + color: "lime" + smooth: true + } +} + -- cgit v1.2.3