Re: [SailfishDevel] How to use self-signed certificates transparently in a https POST/GET request with a QT Quick application?

2015-08-17 Thread Jonni Rainisto
Hi, Really bad for security, but you can for example in main() before creating any connections add these 3 lines of code, which will make application to skip all verifications, so any self signed and invalid certs are also accepted. QSslConfiguration config = QSslConfiguration::defaultConfigur

Re: [SailfishDevel] qml dbus send SMS

2015-03-17 Thread Jonni Rainisto
Just a reminder to people that harbour QA will most likely reject applications that send sms messages through dbus without opening official sms application. As recomended way is to open sms application with sms: tag (mailto: for email) where user can press send button himself. Like Qt.openUrlEx

Re: [SailfishDevel] (no subject)

2015-03-16 Thread Jonni Rainisto
What was the exact wording on power consumption reject? Usually that kind of reject reason comes if your application doesn't suspend when application is swiped to background (afaik on foreground you can consume about as much power as you want, but its a bad thing if your application doesn't foll

Re: [SailfishDevel] QtMultimedia support

2015-02-25 Thread Jonni Rainisto
Also have you read known issues page, ie. have you enabled audio driver in your VM image? "The sound is not enabled in the Emulator. Fix: Shutdown the emulator; Open virtualbox manager; Pick "SailfishOS Emulator", Pick Settings, pick Audio, Enable audio (default driver). Accept. Start Emulator.

Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Jonni Rainisto
rom: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of wsvries [wsvr...@xs4all.nl] Sent: Friday, November 21, 2014 6:22 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] QtTouch for Sailfish? Thanks, Jonni Rainisto schreef op 2014-11-21 10:17: > Here's couple o

Re: [SailfishDevel] QtTouch for Sailfish?

2014-11-21 Thread Jonni Rainisto
Here's couple of example projects that I did a while ago (just tested that they still work). Example of raw QTouchEvents events in QML: https://gitorious.org/sailfishtouchexample/sailfishtouchexample/ Example of MultiPointTouchArea: https://gitorious.org/sailfishtouchexample/multipointtoucharea

Re: [SailfishDevel] Building command line Linux tools for jolla

2014-11-13 Thread Jonni Rainisto
https://build.merproject.org/project/subprojects/sailfishos:chum Has subprojects for each sailfish version. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Florian Kellmer [flor...@kellmer.net] Sent: Wednesday, N

Re: [SailfishDevel] QSystemInfo: No such file or directory

2014-11-12 Thread Jonni Rainisto
QtMobility is for Qt4 only, so its not avail for Qt5/SailfishOS. Some of old mobility api's have been ported to Qt5 as Add-on modules: https://sailfishos.org/wiki/Porting/Harmattan re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sa

Re: [SailfishDevel] Sample app in sailfish.

2014-10-16 Thread Jonni Rainisto
https://sailfishos.org/wiki/SDK_Alpha_Known_Issues#Emulator timeouts are usually DNS resolution releated. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Binu Andrews [binuandr...@gmail.com] Sent: Thursday, Oc

Re: [SailfishDevel] Include shared library

2014-09-15 Thread Jonni Rainisto
Missing INSTALLS += line most likely? At least on quick look I didn't see it. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Steffen Förster [steffen.foers...@4foerster.ch] Sent: Tuesday, September 09,

Re: [SailfishDevel] Internationalization problem on Sailfish

2014-09-11 Thread Jonni Rainisto
You can look for example from here how to use QTranslator to load engineering english + your locale lang. https://github.com/sailfishos/sailfish-office/blob/master/sailfishapplication.cpp#L52 From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfish

Re: [SailfishDevel] Potential security issue ? DBUS leaking passwords in cleartext

2014-08-12 Thread Jonni Rainisto
https://together.jolla.com/question/37710/dbus-monitor-shows-exchange-mail-password-in-clear-text/ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [users.giulie...@gmail.com] Sent: Tuesday, August 12, 2014

Re: [SailfishDevel] Elevating process privileges?

2014-08-07 Thread Jonni Rainisto
hi, When you enable developer mode you have 'devel-su' command available. Harbour store doesn't allow apps that run as root. But openrepo's does (you can set suid bit in rpm and use standard c++ calls to to gain&drop privileges. Br, Jonni From: devel-boun...@lis

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] Notifications API

2014-06-29 Thread Jonni Rainisto
https://github.com/nemomobile/mlite/blob/master/src/mnotification.h https://github.com/nemomobile/nemo-qml-plugin-notifications From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tomasz Sterna [to...@xiaoka.com] Sent

Re: [SailfishDevel] Setting/escalating app privileges ?

2014-05-31 Thread Jonni Rainisto
Yes, iwlist currently requires root, and Harbour rules doesnt allow root-bit to be set currently. But if your ok with application just beeing in OpenRepos, then you can give your application or helper binary a root suid-bit in rpm .spec file like this: %attr(4755,root,root) /usr/bin/yourapplica

Re: [SailfishDevel] activesync account problem

2014-05-27 Thread Jonni Rainisto
Better place is in here https://together.jolla.com/questions/ask/ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of mourik jan heupink - merit [heup...@merit.unu.edu] Sent: Tuesday, May 27, 2014 3:54 PM To: devel@lis

Re: [SailfishDevel] Jolla release plan for high-level features - update 6 / 7

2014-05-23 Thread Jonni Rainisto
Currently there are no plans for that in the near future. In the meanwhile you can use alien dalvik alternative: https://together.jolla.com/question/26644/pgp-gpg-email-support/ Br, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.or

Re: [SailfishDevel] QML creates a Segfault

2014-05-13 Thread Jonni Rainisto
http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions Maybe you just didn't notice the restrictions part (ie script cannot access properties, methods or other attributes of the qml item etc). Hard to say without seeing your workerscript implementation. re, Jonni

Re: [SailfishDevel] Car Connectivity and SailfishOs

2014-04-25 Thread Jonni Rainisto
afaik (I might be wrong) there are no plans other than what comes with Bluez-stack, but Bluez-stack and our mer/nemo middleware is opensource, so feel free to contribute if you have working solution in mind... Or you might want to test if your android app would work in alien dalvik. ___

Re: [SailfishDevel] No QSerialPort

2014-03-26 Thread Jonni Rainisto
https://together.jolla.com/question/50/why-its-not-possible-to-use-usb-otg/ So if you use external power (like powered usb hub or powered cable http://forum.xda-developers.com/showthread.php?t=1828032 ) , compile and install your own kernel modules and then you might get lucky. For that effort

Re: [SailfishDevel] No QSerialPort

2014-03-25 Thread Jonni Rainisto
Hi, I hope that you are aware that USB OTG is not supported, so you cannot attach USB serial devices to Jolla? Or are you building yourself a custom TOH with USB host support and plan to use i2c serial ports? In that case you can just compile QtSerialPort code yourself (I've tested that it comp

Re: [SailfishDevel] SMS for m2m communication

2014-03-23 Thread Jonni Rainisto
We dont allow Harbour applications to send hidden SMS messages to avoid malware. Sending sms should require user interaction ie. message is opened in common message UI and end user needs to press send manually. For non-harbour apps, you can use google search. re, Jonni _

Re: [SailfishDevel] Folder permissions

2014-03-13 Thread Jonni Rainisto
Did you remember to add %ghost in .spec files for rpm to claim ownership for files that you created? Afaik with that remove will also remove the files when package is uninstalled. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on b

Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-28 Thread Jonni Rainisto
perso) [a...@mecadu.org] Sent: Friday, February 28, 2014 10:15 AM To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] How to monitor inputs from a earphone remote control -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 27/02/2014 17:39, Jonni Rainisto a écrit : > Currently you cannot

Re: [SailfishDevel] How to monitor inputs from a earphone remote control

2014-02-27 Thread Jonni Rainisto
Currently you cannot as there is no support for earphone buttons done yet. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Franck Routier (perso) [a...@mecadu.org] Sent: Thursday, February 27, 2014 3:58 PM To: deve

Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread Jonni Rainisto
from ntp servers (don't remember if that was already included in 1.0.3.8). re, Jonni From: christopher.l...@thurweb.ch [christopher.l...@thurweb.ch] Sent: Thursday, February 27, 2014 2:26 PM To: Sailfish OS Developers; Jonni Rainisto Subjec

Re: [SailfishDevel] QML C++ Integration not working in Sailfish

2014-02-27 Thread Jonni Rainisto
Yes, if you read the documentation pragma library cannot access qml properties directly. So its a feature. http://qt-project.org/doc/qt-5.0/qtqml/qtqml-javascript-resources.html#shared-javascript-resources-libraries re, Jonni From: devel-boun...@lists.sailfishos

Re: [SailfishDevel] How to debug Julla

2014-02-27 Thread Jonni Rainisto
Few things to check: - date and clock is current. https connection will fail if clock is even a minute behind real time. - you haven't touched SSU button in developer mode, if you have then you need to switch your domain back to sales. If nothing else is helps then setting time and doing factory

Re: [SailfishDevel] Puzzling application rejection...

2014-02-18 Thread Jonni Rainisto
ttons :D On 18.02.2014 19:28, Jonni Rainisto wrote: > Maybe QA tester has misread RPM vs. RPN :-) > > From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] > on behalf of Luciano Montanaro [mikel...@gmail.com] > Sent:

Re: [SailfishDevel] Puzzling application rejection...

2014-02-18 Thread Jonni Rainisto
Maybe QA tester has misread RPM vs. RPN :-) From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Luciano Montanaro [mikel...@gmail.com] Sent: Tuesday, February 18, 2014 3:23 PM To: devel@lists.sailfishos.org Subject: [S

Re: [SailfishDevel] Jolla behaving weird

2014-01-27 Thread Jonni Rainisto
Bugs to together.jolla.com, keep this mailing list for devel posts, thanks. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tone Kastlunger [users.giulie...@gmail.com] Sent: Monday, January 27, 2014 9:00 PM To: devel@list

Re: [SailfishDevel] Built-in alarm

2014-01-23 Thread Jonni Rainisto
Yes, you can use same way what timedclient-qt5 uses (like running "timedclient-qt5 -L" will show you all alarms and reminders): https://github.com/nemomobile/timed/blob/master/tools/timedclient/timedclient.cpp From: devel-boun...@lists.sailfishos.org [devel-boun

Re: [SailfishDevel] harbour rejects user files in a Documents subfolder?

2014-01-22 Thread Jonni Rainisto
thats the problem, as rpm checker script does: `strings yourbinary | grep "/home/nemo/"` so if it finds a hit, it gives a reject. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of wsvries [wsvr...@xs4all.

Re: [SailfishDevel] SSL certificate manager

2014-01-18 Thread Jonni Rainisto
https://together.jolla.com/question/1607/gui-to-addtrust-ssl-root-certsself-signed-certs/ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Matthias Fehring [buschm...@huessenbergnetz.de] Sent: Saturday, January 18,

Re: [SailfishDevel] QML Timer stops running

2014-01-15 Thread Jonni Rainisto
do a forced update as soon as the device wakes up. How can I detect such event from C++ side (my app is run as a daemon actually, so no qml involved)? Is there some DBus signal I can listen to? Thanks, Luca Donaggio On Wed, Jan 15, 2014 at 9:26 AM, Jonni Rainisto mailto:jonni.raini...@jolla

Re: [SailfishDevel] QML Timer stops running

2014-01-15 Thread Jonni Rainisto
Hi, For the love of ***, dont use libiphb every 5 seconds, that will kill batterylife for suspend (store QA will reject apps that eat battery). Its more meant to be triggered every 10, 15, 30 etc. minutes. So if you want to make 25 minute timer that works even while suspended, then you should d

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-13 Thread Jonni Rainisto
ration. Then I have question: What is right way to set-up "run daemon now and after boot" right after install .. without post-inst script in RPM ? And I want answer, please ... Thanks Kaacz Dne 11.1.2014 11:41, Jonni Rainisto napsal(a): > because they are runned as root. > _

Re: [SailfishDevel] MobileNetwork / MobileData automatically on after reboot - what the heck?

2014-01-13 Thread Jonni Rainisto
Hi, Did you wait for few minutes after turning the setting off, before rebooting the device? There is/was feature in btrfs filesystem that syncing changes (especially gconf) to disk can take some time, so if you reboot too quickly after setting change then old value could still be active on ne

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
Hi With current Harbour QA rules, application like that is not allowed. Issues: - privileged group is reserved for Jolla applications only, harbour apps are not allowed to have it - applications that install rpm packages are not allowed before there is setting for allowing 3rd party rpm in some

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-11 Thread Jonni Rainisto
because they are runned as root. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevnikov [coderusin...@gmail.com] Sent: Saturday, January 11, 2014 11:22 AM To: Sailfish OS Developers Subject: [SailfishDe

Re: [SailfishDevel] mersdk and kernel-devel

2014-01-10 Thread Jonni Rainisto
I think that someone did source code request and posted the kernel online: http://talk.maemo.org/showpost.php?p=1395881&postcount=8 And if you don't trust random internet urls there is source code request information in devices about screen. re, Jonni From: devel

Re: [SailfishDevel] How to install user (controlled) data files for my app avoiding /usr/share

2014-01-09 Thread Jonni Rainisto
IMHO (Only my personal view, not official answer). I would not copy readonly data to $XDG_CONFIG_HOME/$NAME, I would only copy the readwrite parts off from usr/share/appname. And I would define the map data chmod 666 in spec so I could programitically remove the data. __

Re: [SailfishDevel] xdg folder stuff: howto? more info

2014-01-08 Thread Jonni Rainisto
IMHO applications that use QStandardPaths should be always accepted, there must be something wrong with the process or rules if that is the cause for rejection. If QStandardPaths points to wrong directory then its a bug which should be fixed. re, Jonni From: de

Re: [SailfishDevel] SailfishOs Integration questions

2013-12-23 Thread Jonni Rainisto
Unfortunately there is a problem that they cannot be accepted on harbour, as Jolla system settings have privileges that 3rd party applications cannot have. So until we figure out how to drop those privileges from 3rd party apps, that path will remain blacklisted. ___

Re: [SailfishDevel] The Other Half I2C

2013-12-23 Thread Jonni Rainisto
NOTE: This API is not supported in initial Jolla device software. It will be available from 1.0.2.* and later Sailfish OS releases. # Enable VDD echo 1 > /sys/devices/platform/reguserspaceconsumer.0/state # Disable VDD echo 0 > /sys/devices/platform/reguserspaceconsumer.0/state So unfortunately

Re: [SailfishDevel] Fwd: Re: Re: How to get contacts and sms through Qt(C++)

2013-12-22 Thread Jonni Rainisto
Please keep in mind that Harbour will not allow any application that sends SMS'es by themselves, if you want application to send sms'es you should open systems sms sending app (mayba can prefill the data), but end user should clearly press the send button her/himself before text message is sent.

Re: [SailfishDevel] Harbour API additions

2013-12-09 Thread Jonni Rainisto
Hi, Most likely QtWidgets will remain blacklisted for ever in store. But of course you can use it in personal projects that are not going in to the store. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf o

Re: [SailfishDevel] GB compile

2013-12-05 Thread Jonni Rainisto
And who says that they cannot be linked? Harbour intake rules != what developer can do. If intake rules are bad then there most likely will be alternative stores available at some point for developer mode. And we are also trying to relax Harbour intake rules in the future, but lets see when or

Re: [SailfishDevel] Icon issues again

2013-12-02 Thread Jonni Rainisto
works for me, and the icon appears on my device. So maybe qa tester made a mistake re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Martin Windolph [mar...@yoktobit.de] Sent: Tuesday, December 03, 2013 12:12

Re: [SailfishDevel] QA app rejected for non absolute icon path

2013-12-01 Thread Jonni Rainisto
Change following line: Icon=/usr/share/icons/hicolor/86x86/apps/harbour-cubetimer.png to: Icon=harbour-cubetimer re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Gabriel Böhme [m.gabrielboe...@googlemail.com] S

Re: [SailfishDevel] Swipe Lock

2013-11-29 Thread Jonni Rainisto
Hi You need to call that before your setSource-line, as setFlags will not do anything if qml is already loaded. Usually I do it with something like this: QScopedPointer app(Sailfish::createApplication(argc, argv)); QScopedPointer view(Sailfish::createView()); // Disable swi

Re: [SailfishDevel] .ico : Unsupported image format

2013-11-24 Thread Jonni Rainisto
Have you tried adding following line in your yaml/spec?: Requires: qt5-plugin-imageformat-ico From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tigre-Bleu [de...@tigre-bleu.net] Sent: Sunday, November 24, 2013 5:59

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
.org Subject: Re: [SailfishDevel] Update on application naming for Harbour applications if i already build and sent to Harbour my org.coderus.persecute application, i should rebuild it now to harbour-persecute? =( On 23.11.2013 18:34, Jonni Rainisto wrote: Hi, Whoever grabs the name first keeps i

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
-videocam? Or whoever grabs the name first keeps it? What about the main app binary name and it's data folder? Shall they be harbour-videocam or com.supercell.videocam? Or harbour-com.supercell.videocam? Cheers, Artem. On Sat, Nov 23, 2013 at 1:11 PM, Jonni Rainisto mailto:jonni.raini...@joll

Re: [SailfishDevel] Update on application naming for Harbour applications

2013-11-23 Thread Jonni Rainisto
Hi, Domain part is not needed anymore, so its in the form of: harbour-applicationname That way for example "harbour-videocam"-package doesnt confilict with possible systems "videocam"-package. From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfi

Re: [SailfishDevel] testing android apps with the emulator?

2013-11-20 Thread Jonni Rainisto
Sorry you cannot, android compatibility layer is Jolla-device only feature. Br, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Zoltán Lutor [zoltan.lu...@gmail.com] Sent: Wednesday, November 20, 2013 10:55 PM To: S

Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type

2013-11-20 Thread Jonni Rainisto
if its a bug in qtlocation then https://bugreports.qt-project.org And you might want to check if there are fixes in the pipeline already https://codereview.qt-project.org/#q,status:open+project:qt/qtlocation,n,z re, Jonni From: devel-boun...@lists.sailfis

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-15 Thread Jonni Rainisto
_ From: christopher.l...@thurweb.ch [christopher.l...@thurweb.ch] Sent: Friday, November 15, 2013 5:01 PM To: Sailfish OS Developers; Jonni Rainisto Subject: Re: [SailfishDevel] Status of Sailfish SMS? Hi Jonni Could you please confirm whether or not it will be possible to send SMSes direct f

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Jonni Rainisto
] Sent: Friday, November 15, 2013 4:24 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Saving state/config On Friday 15 November 2013 05:44 Jonni Rainisto wrote: > import org.nemomobile.configuration 1.0 My n00bness shows again :P Will I have to add this module to my project? The Sailfis

Re: [SailfishDevel] Saving state/config

2013-11-15 Thread Jonni Rainisto
r 15, 2013 4:13 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Saving state/config On Friday 15 November 2013 05:44 Jonni Rainisto wrote: > Hi, > > Normal usage of QSettings which saves under /home/nemo/.config/app would be > just fine for C++. If you just want to save fe

Re: [SailfishDevel] Saving state/config

2013-11-14 Thread Jonni Rainisto
Hi, Normal usage of QSettings which saves under /home/nemo/.config/app would be just fine for C++. If you just want to save few config values in QML, then you might want to use GConf by importing nemo-qml-plugin-configuration module (https://github.com/nemomobile/nemo-qml-plugin-configuration)

Re: [SailfishDevel] Status of Sailfish SMS?

2013-11-13 Thread Jonni Rainisto
Afaik, if you try to send sms, it opens default messaging application where you can enter the sms. And same for outgoing phonecalls, opens phone application where you can make a call. Reasoning behind it is that as those call create a phone bill to end user, then applications are not allowed to

Re: [SailfishDevel] How to use setContext() or what is recommended?!

2013-11-13 Thread Jonni Rainisto
Hi, Yes your setContextProperty() to rootContext is the right approach. Usually I do something like this: QScopedPointer app(Sailfish::createApplication(argc, argv)); QScopedPointer view(Sailfish::createView()); MyClass data; view->rootContext()->setContextProperty("myObject", &

Re: [SailfishDevel] App rejected, missing libc.so.6

2013-11-12 Thread Jonni Rainisto
Hi, Few pointers, application installs and starts. desktop file Icon path is wrong so app icon is empty on grid. If you change Icon line to: Icon=/usr/share/icons/hicolor/90x90/apps/morzyn.png Then icon would show up in the grid too. Your startup time is pretty slow so you might want to optimi

Re: [SailfishDevel] Account management

2013-11-12 Thread Jonni Rainisto
You might want to look into libaccounts-glib, nemo-qml-plugin-accounts-qt5 and libaccounts-qt5 Anyways you might want to do "zypper se accounts" inside emulator to see all the packages that are avail. re, Jonni From: devel-boun...@lists.sailfishos.org [d

Re: [SailfishDevel] Sailfish app - testing on real device

2013-11-12 Thread Jonni Rainisto
if you drop by in efnet irc #sailfishos channel, there are people with real devices, and we have been testing rpm packages that people have pointer url's at. Or we are also happy to test packages that you give urls in this mailing list. re, Jonni From: d

Re: [SailfishDevel] QSqlDatabase cannot create db file when deployed as rpm package

2013-11-12 Thread Jonni Rainisto
User processes only have write permissions to /home/nemo So usually your application should use something like /home/nemo/.local/share/applicationame/database.db or /home/nemo/.config/applicationame/database.db re, Jonni From: devel-boun...@lists.sailfishos.org

Re: [SailfishDevel] Flashlight app icon experience

2013-11-11 Thread Jonni Rainisto
Icon shows up just fine, so maybe you just messed up the iconpath in desktop file? And maybe you also want to change background to be transparent. I think that design team is working on a releasing a template, but I don't know the ETA yet. re, Jonni From: devel-

Re: [SailfishDevel] Double-tap detection

2013-11-09 Thread Jonni Rainisto
doubleclick with one finger. If you want double click behaviour so you need listen for raw event timestamps. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [jonni.raini...@jolla.com] Sent

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-09 Thread Jonni Rainisto
in the meantime it will do the job. Thanks, Antoine De: "Jonni Rainisto" À: "Sailfish OS Developers" Envoyé: Samedi 9 Novembre 2013 19:31:40 Objet: Re: [SailfishDevel] Ignoring auto signed SSL certificates Hi, If you dont care about ch

Re: [SailfishDevel] Ignoring auto signed SSL certificates

2013-11-09 Thread Jonni Rainisto
Hi, If you dont care about chain of trust in self signed ssl certs, you can just add following in your application. That way all ssl certs are always accepted. Add these includes to main.cpp #include #include Add these lines in beginning of your main() QSslConfiguration config =

Re: [SailfishDevel] Double-tap detection

2013-11-09 Thread Jonni Rainisto
Already answered in here https://lists.sailfishos.org/pipermail/devel/2013-November/000973.html And your your git repository doesnt make working rpm nor working application, no use to ask people build from repository which are missing files to make a complete application. re, Jonni ___

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-07 Thread Jonni Rainisto
>That's good, but what I don't get in that case is... does that >coincidentally mean "enable developer mode" == "disable copy protection"? It doesn't mean that. It will be lightweight, does not limit resources and does not care what mode you are on. People will just have to wait for untill its

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-07 Thread Jonni Rainisto
devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Attila Csipa [q...@csipa.in.rs] Sent: Thursday, November 07, 2013 10:09 PM To: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store On 07-Nov-13 01:42, Jonni Rainisto wrote: > We are working h

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-07 Thread Jonni Rainisto
Hi, Thanks for all the questions and suggestions. We are quire aware of the problems that for example Harmattan application store had, and hopefully in time we can give better solution for all of you. Currently Jolla Harbour only supports free applications. We are working hard on adding copy p

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Jonni Rainisto
point, thanks! On 06.11.2013 18:30, Jonni Rainisto wrote: And if some good library is missing, and you are willing to maintain the library, feel free trying to get it added to Mer/Nemomobile side (after that you can depend against it). re, Jonni From: deve

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Jonni Rainisto
...@lists.sailfishos.org] on behalf of Jonni Rainisto [jonni.raini...@jolla.com] Sent: Wednesday, November 06, 2013 2:27 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] Jolla Harbour and Jolla Store HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread Jonni Rainisto
HI, AFAIK, uploading libraries to store is forbidden, you can only depend on common mer/nemomobile libraries in .spec/rpm Requires field. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Andrey Kozhevni

Re: [SailfishDevel] Problems with the Emulator (possible bugs?)

2013-11-04 Thread Jonni Rainisto
Hi, 1) Not part of the emulator and double clicks should be avoided anyways, bad UI experience. So forget using it :) (or make custom qevent handler and compare timestamps). 2) Hard to know the problem without seeing your code. Maybe you forgot to use property alias? Works for me. Here is mini

Re: [SailfishDevel] Install Icon file

2013-10-28 Thread Jonni Rainisto
Usually you add something like this in .pro file. And please use .png. desktopfile.files = $${TARGET}.desktop desktopfile.path = /usr/share/applications icon.files = $${TARGET}.png icon.path = /path/whereyouwant/icon/tobe INSTALLS += icon desktopfile re, Jonni

Re: [SailfishDevel] Problem running "old" project on QT5

2013-10-06 Thread Jonni Rainisto
! Regards, Markus P.S - here's the link to the code on GitHub: http://ortofta.github.io/SilicaNote/ 19 sep 2013 kl. 22:20 skrev Jonni Rainisto mailto:jonni.raini...@jollamobile.com>>: Hi, Usually it helps to point to the problem if you would give url to yo

Re: [SailfishDevel] Problem running "old" project on QT5

2013-09-19 Thread Jonni Rainisto
Hi, Usually it helps to point to the problem if you would give url to your git repo. If not then "rgrep -i declarative *" might do the trick. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Markus Svensson [ma

Re: [SailfishDevel] Sailfish OS on Nokia N950

2013-09-16 Thread Jonni Rainisto
Ah yes, and my bad, only N9 has NFC, so replace s/N950/N9/ from my answer :) re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Jonni Rainisto [jonni.raini...@jollamobile.com] Sent: Monday, September 16, 2013 1

Re: [SailfishDevel] Sailfish OS on Nokia N950

2013-09-16 Thread Jonni Rainisto
Hi, Currently you can not. 1. you need to wait for arm rootfs to be released. 2. you need to wait someone to port or port yourself the rootfs to work with N950 3. most likely N950 NFC is not open source (haven't check is nemomobile has working NFC), so you need to reverse engineer how Nokia N9

Re: [SailfishDevel] QGeoPositionInfo ?

2013-09-07 Thread Jonni Rainisto
This has already been answered in this thread https://lists.sailfishos.org/pipermail/devel/2013-August/000541.html re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Franck Routier (perso) [a...@mecadu.org

Re: [SailfishDevel] FolderListModel errors

2013-08-19 Thread Jonni Rainisto
import Qt.labs.folderlistmodel 1.0 works for me at least, only thing that I added was the line in spec file (or in yaml) and installed the rpm that I created (which pulled the requirements in). Requires: qt5-qtdeclarative-import-folderlistmodel Most likely you just want to uninstall everything

Re: [SailfishDevel] Using QJson in Sailfish OS

2013-08-19 Thread Jonni Rainisto
Hi, zypper in inside the sb2 rootfs as mentioned in quite a many posts in here, but you can just simply add following build requires depency into your projects .yaml file, that way qt creator will install headers automaticly for you when you compile. (PkgBR) qjson-devel br, Jonni ___

Re: [SailfishDevel] alpha2 sdk: shared source directory not working ?

2013-08-14 Thread Jonni Rainisto
feature is not finished yet. br, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of W. Dobbe [winfried_...@xmsnet.nl] Sent: Wednesday, August 14, 2013 5:01 PM To: devel@lists.sailfishos.org Subject: [SailfishDe

Re: [SailfishDevel] page stack indicator

2013-08-12 Thread Jonni Rainisto
Do you mean setting following property to true/false on Page to hide the back navigation item? Try it and see what happens ;-) backNavigation: false From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [

Re: [SailfishDevel] under which user do apps run

2013-08-11 Thread Jonni Rainisto
11, 2013 11:29 PM To: Jonni Rainisto Cc: devel@lists.sailfishos.org Subject: Re: [SailfishDevel] under which user do apps run On 08/11/2013 09:22 PM, Jonni Rainisto wrote: > You must be doing something wrong :) > > qDebug() << getuid(); > system("whoami"); &

Re: [SailfishDevel] under which user do apps run

2013-08-11 Thread Jonni Rainisto
You must be doing something wrong :) qDebug() << getuid(); system("whoami"); -> 10 nemo From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@xs4all.nl] Sent: Sunday, August 11, 2013 9

Re: [SailfishDevel] Include Python.h: BuildRequires

2013-08-09 Thread Jonni Rainisto
s: libcontacts-qt5-devel BuildRequires: desktop-file-utils re, Jonni On 08/09/2013 11:03 AM, christopher.l...@thurweb.ch wrote: Hi Jonni Could you clarify you answer here: Zitat von "Jonni Rainisto" : Other option would just to add depency to spec file (or to yaml), that way package gets a

Re: [SailfishDevel] Fwd: Re: Include Python.h

2013-08-06 Thread Jonni Rainisto
Other option would just to add depency to spec file (or to yaml), that way package gets automatically installed to toolchain while building. BuildRequires: pkgconfig(python-2.7) re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sail

Re: [SailfishDevel] Can't start VMs (Connection refused)

2013-07-27 Thread Jonni Rainisto
https://sailfishos.org/wiki/SDK_Alpha_Known_Issues Solution can be found in there. Usually you need to unset SSH_AUTH_SOCK or to set nameservers. re, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Canol Gökel [

Re: [SailfishDevel] My sailfishapplication-less setup/project (which enables the use of setContext*)

2013-07-21 Thread Jonni Rainisto
Hi, thanks for the feedback. And yes in next beta SDK I've added createView() and setView functions to sailfishapplication SDK template, which allows you to call setContextProperty etc functions in between before loading the QML main page. And also added support in template to have main.qml in

Re: [SailfishDevel] native fs encryption ?

2013-07-12 Thread Jonni Rainisto
You can look/search from https://build.merproject.org about what packages are in Nemo/Mer middleware. If something is missing feel free to contribute. With quick look there are at least fuse and cryptsetup-luks packages. Of course that doesn't tell if they are enabled by default in Sailfish OS,

Re: [SailfishDevel] 无法发布到手机

2013-06-05 Thread Jonni Rainisto
Hi, Usually this is fixable by following the DNS resolution suggestion from here: https://sailfishos.org/wiki/SDK_Alpha_Known_Issues#Emulator br, Jonni From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of 汪福东 [fudong.w...@ai

Re: [SailfishDevel] change Silica theme details

2013-06-02 Thread Jonni Rainisto
You can ofcourse alse use javascript and read current theme colors in there and slice them in r g b values, and make your custom var's with changed values. But the question is that can you give an example of where the default theme colors are not readable enough, and what kind of ambient theme a

Re: [SailfishDevel] QML support of Multitouch

2013-05-02 Thread Jonni Rainisto
Hi, Yes, orientation support is not included in Alpha SDK. We hope to include it in the future. re, Jonni From: Seppo Tiainen [seppo.tiai...@gmail.com] Sent: Thursday, May 02, 2013 9:34 AM To: Jonni Rainisto Cc: devel@lists.sailfishos.org Subject: Re

  1   2   >