Re: [SailfishDevel] SDK Installation

2014-07-20 Thread Jonni Rainisto
1st error in that picture is sudo bash, ie that root install is not supported, you are expected to install as normal user. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Paul Duncan [rvsji...@yahoo.com] Sent:

Re: [SailfishDevel] Versions

2014-07-20 Thread Kimmo Lindholm
You can make your own modified template easily. i did... https://github.com/kimmoli/Sailfish-qtcreator-wizard (for some reason i did remove yaml, and use only spec) -kimmo Lähettäjä: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.or

[SailfishDevel] Key Public Key Deployment - Connection Refused

2014-07-20 Thread Andreas Heil
Hi all, I try to deploy an application to a Jolla device. I followed the steps given in https://sailfishos.org/develop-firstapp-article.html. Developer mode on the phone is active, a password is set. I tried both, the wireless IP as well as the USB connection (even connecting while using t

Re: [SailfishDevel] Versions

2014-07-20 Thread Андрей Кожевников
this method working only at clean build and after updating pro/yaml/spec/main.cpp. If you wont update some of these files you'll get old version numbers in future builds. 20.07.2014 18:59 пользователь "Bob Jelica" написал: > Hey, > > If you have this in your .yaml: > > > Version: 1.0.0 > > > QMak

Re: [SailfishDevel] Versions

2014-07-20 Thread Mikael Hermansson
With all those options given I prefer below one given by Bob. I actually have made a AppInfo class for generic stuff like read licensefile/changelog/version in the aboupage long ago. But I used a header file with stupid duplicate of VERSION (I hade to manually change both yaml+app). I will for

Re: [SailfishDevel] Versions

2014-07-20 Thread Chris Walker
On Sun, 20 Jul 2014 14:58:16 +0200 Bob Jelica wrote: > Hey, > > If you have this in your .yaml: > > Version: 1.0.0 > > QMakeOptions: > - VERSION='%{version}-%{release}' > > Then you can do this in your .pro file: > DEFINES += APP_VERSION=\\\"$$VERSION\\\" > > That gives you the option to do

Re: [SailfishDevel] Versions

2014-07-20 Thread Bob Jelica
Hey, If you have this in your .yaml: Version: 1.0.0 QMakeOptions: - VERSION='%{version}-%{release}' Then you can do this in your .pro file: DEFINES += APP_VERSION=\\\"$$VERSION\\\" That gives you the option to do this in your main.cpp: QScopedPointer view(SailfishApp::createView()); view->root

Re: [SailfishDevel] Versions

2014-07-20 Thread fasza2mobile
Wow, thanks:) On Sun Jul 20 2014 13:12:19 GMT+0100 (BST), Andrey Kozhevnikov wrote: > QProcess app; > app.start("/bin/rpm", QStringList() << "-qa" << "--queryformat" << > "%{version}-%{release}" << "packagename"); > app.waitForFinished(-1); > if (app.bytesAvailable() > 0) { > version = app.readAl

Re: [SailfishDevel] Versions

2014-07-20 Thread Andrey Kozhevnikov
QProcess app; app.start("/bin/rpm", QStringList() << "-qa" << "--queryformat" << "%{version}-%{release}" << "packagename"); app.waitForFinished(-1); if (app.bytesAvailable() > 0) { version = app.readAll(); } 20.07.2014 17:26, Chris Walker пишет: Is there any way to have my 'About' page pick up

Re: [SailfishDevel] What or how should I do to resolve the problem that installing other apps in my app just like the Warehouse

2014-07-20 Thread Mikael Hermansson
On Saturday, July 19, 2014 16:28:03 itviewer wrote: > Hi All, > In the last update ( > https://together.jolla.com/question/50175/release-notes-software-version-10 > 819-tahkalampi/ ) , the RPM side-loading and packagekit authorization is > changed,as follows. > > https://harbour

Re: [SailfishDevel] Versions

2014-07-20 Thread Krisztian Olah
Hi Chris, I've been using a bash script to do just that. I am not very good at bash, mind you, so there is plenty of room for improvement, but you can have a look at it and modify to your likes/needs. You are free to do whatever you want with it; to modify, to share, to not share... Regards Kris

[SailfishDevel] Versions

2014-07-20 Thread Chris Walker
Is there any way to have my 'About' page pick up the Version and Release information from the yaml file? At the moment, I'm hard coding the versioninfo in the About page but I'd like it to be updated automagically in the future. I looked around but couldn't see this information anywhere so I'm gu