[meta-freescale] [meta-fsl-demos][PATCH 2/2] qt-in-industrial-embedded-common: add patch to run demos in fullscreen mode
Mario Domenech Goulart
mario at ossystems.com.br
Fri Jan 17 06:02:46 PST 2014
Signed-off-by: Mario Domenech Goulart <mario at ossystems.com.br>
---
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
More information about the meta-freescale
mailing list