Return-Path: Received: from mail-yh0-f51.google.com (mail-yh0-f51.google.com [209.85.213.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2C2DCE0084B for ; Fri, 17 Jan 2014 06:03:02 -0800 (PST) Received: by mail-yh0-f51.google.com with SMTP id l109so1394527yhq.24 for ; Fri, 17 Jan 2014 06:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=MksSJ8EVGLXBX3LhaUkRcQguoi14LquvtfW09vW0Hfw=; b=eXSSW5MF/y7AxxsOVAqh7SjtlBPwC2KvU+b7NNnjbiB0K9r2aeTz8l2THhSCFzI8s0 VuKr02g0Ii2igEqVN9kb6z1TMAuIwomk9AdAEzne60xjlSVMFH2fqAQHPXWDsR/55ibB Kt059LFyiD0TRtVlfDEBFsKRmrbzkif3dMCKsyJYlhlZy7xbe7kHrExMbIuC9duGLCe8 m70FNm6QK162oGUd6pb5Pe6bZaJ0KOv0PQqZeYqtZBSJw3S7xnxBtO/BAx831os0qTh4 qdWSxTYC+coPeQuklpv0gNWefaJlKrnAe4YbDIj9m9ovrdRhaXlvDpG3C+bMUoEsTjSy o+TA== X-Received: by 10.236.171.195 with SMTP id r43mr1902238yhl.56.1389967381856; Fri, 17 Jan 2014 06:03:01 -0800 (PST) Received: from monster.lab.ossystems.com.br ([177.194.208.225]) by mx.google.com with ESMTPSA id k3sm18449445yhc.13.2014.01.17.06.02.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 17 Jan 2014 06:03:01 -0800 (PST) Sender: Mario Domenech Goulart From: Mario Domenech Goulart To: meta-freescale@yoctoproject.org Date: Fri, 17 Jan 2014 12:02:46 -0200 Message-Id: <1389967366-2718-2-git-send-email-mario@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1389967366-2718-1-git-send-email-mario@ossystems.com.br> References: <1389967366-2718-1-git-send-email-mario@ossystems.com.br> Subject: [meta-fsl-demos][PATCH 2/2] qt-in-industrial-embedded-common: add patch to run demos in fullscreen mode X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 14:03:05 -0000 Signed-off-by: Mario Domenech Goulart --- recipes-qt/qt-in-use/files/fullscreen.patch | 13 +++++++++++++ recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc | 1 + 2 files changed, 14 insertions(+) create mode 100644 recipes-qt/qt-in-use/files/fullscreen.patch diff --git a/recipes-qt/qt-in-use/files/fullscreen.patch b/recipes-qt/qt-in-use/files/fullscreen.patch new file mode 100644 index 0000000..e1c67db --- /dev/null +++ b/recipes-qt/qt-in-use/files/fullscreen.patch @@ -0,0 +1,13 @@ +diff --git a/smarthome/main.cpp b/smarthome/main.cpp +index 89c60f3..bed47e8 100644 +--- a/smarthome/main.cpp ++++ b/smarthome/main.cpp +@@ -16,7 +16,7 @@ int main(int argc, char *argv[]) + QmlApplicationViewer viewer; + viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape); + viewer.setMainQmlFile(QLatin1String("qml/smarthome/smarthome.qml")); +- viewer.show(); ++ viewer.showFullScreen(); + + return app.exec(); + } diff --git a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc index ad879c5..405794d 100644 --- a/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc +++ b/recipes-qt/qt-in-use/qt-in-industrial-embedded-common.inc @@ -5,6 +5,7 @@ inherit autotools update-rc.d PV = "0.0+gitr${SRCPV}" SRCREV = "4b10cbfd32391c83251bbc61520eeab03461db0a" SRC_URI = "git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git \ + file://fullscreen.patch;striplevel=2 \ file://smarthome \ " -- 1.7.10.4