Re: [Ubuntu-phone] theme.name and qrc

2016-03-01 Thread Petr Štětka
So, how can I theming my app, when I want use qrc? Dne 1. 3. 2016 11:53 napsal uživatel "Zsombor Egri" < zsombor.e...@canonical.com>: > The simple answer is: you cannot. The theme.name is not a file path, it's > a URL. > > On Mon, Feb 29, 2016 at 1:30 PM, Petr Št

[Ubuntu-phone] theme.name and qrc

2016-02-29 Thread Petr Štětka
this: theme.name = "qrc:///qml/LightTheme" or with: theme.name = "LightTheme" It does not work: Theme not found: "qrc:///qml/LightTheme" So how can I load a my theme from qrc? Petr Štětka -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ub

[Ubuntu-phone] Fwd: [Development] Initialisation before run QCoreApplication

2016-02-24 Thread Petr Štětka
Can I find somewhere an example? 2016-02-24 10:37 GMT+01:00 Olivier Tilloy : > On Wed, Feb 24, 2016 at 10:28 AM, Petr Štětka > wrote: > > Hi guys I want do some initialisation before run app, because I must do > it > > for some library. But I want use QML as in normal Ubu

[Ubuntu-phone] [Development] Initialisation before run QCoreApplication

2016-02-24 Thread Petr Štětka
Hi guys I want do some initialisation before run app, because I must do it for some library. But I want use QML as in normal Ubuntu Touch app do it. I want create .click package too. So how can I do something like this? int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); som

[Ubuntu-phone] Run binaries from normal QML/C++ application

2016-02-07 Thread Petr Štětka
Hello :) Is there any way to run binaries from normal QML/C++ applications (using the "system" command or using Qprocess class)? Where do I store the binary file that I could run without root? What about the AppArmor? Thank you for any answers, Petr Štětka -- Mailing list: https://lau