Re: [Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Jason H
On Android, this seems to correspond to the WAKE_LOCK permission. I was hoping there was a Window.preventSleep property or something like that so I can modify the property at run-time. Sent: Monday, April 13, 2015 at 1:09 PM From: Thiago Macieira thiago.macie...@intel.com To:

Re: [Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Jason H
Thanks everyone. Ill try to figure out how to use this. I dont know Objective C at all. Rather than set it once for the app, Id just like specific screens to do it. Is there a way we can get this integrated as part of QML Window? Or is there some other more apropriate element? Screen

[Interest] QAudioDecoder

2015-04-13 Thread John Weeks
I've accepted the fact that QAudioDecoder has no backend support on Macintosh, so now I'm working on Windows. I have successfully decoded a .mp3 and a .wav file. A couple of issues: I fed the decoder a .aif file. I'm prepared to learn that it isn't supported on Windows. After calling

[Interest] [interest] how qtwayland to capture weston touch event

2015-04-13 Thread Nancy Zou
Dear All: Does anyone know how qtwayland to capture Weston touch event? I run my qt demo on platform wayland, the touch don't have response. my Qt version is 5.4.1. Thank you. Best Regards Nancy Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered

Re: [Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Thiago Macieira
On Monday 13 April 2015 18:59:34 Gianluca wrote: Dear Jason, I don’t think it’s possible. Doing this means override the user’s preferences about the energy saving. These kind of preferences are usually beyond the possibility of any Android and iOS app. Anyway, even if it’s possible, all

Re: [Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Alejandro Exojo
El Monday 13 April 2015, Gianluca escribió: These kind of preferences are usually beyond the possibility of any Android and iOS app. Can't say for iOS, but this is certainly possible on Android. For starters, you have to enable the capability in the manifest, and the user will see that the

[Interest] Question about QtWebKit security origins

2015-04-13 Thread Dmitry Shachnev
Hi, I am developer of a Markdown editor (ReText) that uses QtWebKit to show file previews. It uses the following code to set HTML on the web view: webView.setHtml(html, QUrl::fromLocalFile(filePath)); Here, filePath is an absolute path to the Markdown file being edited. Passing it is needed

[Interest] Problem creating QGuiApplication in an Android Service

2015-04-13 Thread King, Jeff
I have a Service that calls a function via JNI where I attempt to create a QGuiApplication but the constructor never finishes. I have loaded the necessary QT libraries and plugins for Android similar to how it is done in QtActivity and I don't get any errors, just a dead end. Android Service -

Re: [Interest] dynamic_cast failing

2015-04-13 Thread Scott Aron Bloom
-Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of René J.V. Bertin Sent: Saturday, April 11, 2015 9:28 AM To: interest@qt-project.org Cc: Nikos Chantziaras Subject: Re:

Re: [Interest] [interest] UITools - how to modify the GUI?

2015-04-13 Thread Tamás Nagy
Hi, How can be path bad? textEdit is in the centralWidget. I can access it from the ui, but not from the loaded ui, that is loaded with UILoader. I tried to call refresh() on it. I can find and access any other GUI elements with UILoader, but I cannot modify them. What can be wrong? widget

Re: [Interest] [interest] UITools - how to modify the GUI?

2015-04-13 Thread Tamás Nagy
Hallo, I tried to access it through TabWidget, as written in a forum as suggestion, but the problem is, that it does not find the TabWidget at all. It returns always 0 for tabwidget. widget class=QWidget name=centralWidget widget class=QTabWidget name=TabWidget property name=geometry

[Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Jason H
I need to capture a photo, and while the photo capture screen is active, I want to disable the screen's ability to turn itself off until we have left the image capture screen. Is there a way to do this in QML, for Android and iOS? ___ Interest

Re: [Interest] Preventing sleep on mobile platforms

2015-04-13 Thread Gianluca
Dear Jason, I don’t think it’s possible. Doing this means override the user’s preferences about the energy saving. These kind of preferences are usually beyond the possibility of any Android and iOS app. Anyway, even if it’s possible, all guides about user experience on mobile platform always

Re: [Interest] [interest] UITools - how to modify the GUI?

2015-04-13 Thread Tamás Nagy
Hi, It was almost impossible, but it does not load the UI file: GuiParser::GuiParser(QTreeWidget *tree) { treeWidget = tree; QUiLoader uiLoader; QFile file(mainwindow.ui); // I also copied file to C: root and wrote fix path here // I also wrote here a file.open, but it does