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

2013-11-12 Thread Stockona
Source code: Q_DECL_EXPORTintmain(intargc,char*argv[]) { ...     FileHandler*fileHandler=newFileHandler(); view-rootContext()-setContextProperty(fileHandler,fileHandler); ... } FileHandler::FileHandler(QObject*parent):QObject(parent){     ... // /usr/share/Stockona/  

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

2013-11-12 Thread Andrey Kozhevnikov
have you added sql to your project CONFIG? and what is resulting dbPath value? On 12.11.2013 14:12, Stockona wrote: Source code: Q_DECL_EXPORTintmain(intargc,char*argv[]) { ... FileHandler*fileHandler=newFileHandler(); view-rootContext()-setContextProperty(fileHandler, fileHandler);

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

2013-11-12 Thread Andrey Kozhevnikov
ah. you have no write permissions to these folders. create db in /home/nemo/.local/share/Sockona or /home/nemo/.config/Stockona On 12.11.2013 14:25, Stockona wrote: I have QT += sql in my pro. DB path= /usr/share/Stockona/.stockona_db By the way, db.lastError().text() and type() gave me: Error:

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] How to? using SB2 environment.

2013-11-12 Thread Andrey Kozhevnikov
i have no mb2 or mb commands. something missing in my installation? On 12.11.2013 15:03, David Greaves wrote: On 12/11/13 08:19, Andrey Kozhevnikov wrote: Can you give me example of using sb2 SailfishOS-i486-x86 environment for cross-compilation? $ sb2 -t SailfishOS-i486-x86 ./configure

Re: [SailfishDevel] How to? using SB2 environment.

2013-11-12 Thread Andrea Bernabei
did you already do sb2-init? give a look at the guide I wrote for Nemo https://wiki.merproject.org/wiki/Wayland_Nemo_VM_Image#Setup_Wayland_VM_SB2_target 2013/11/12 Andrey Kozhevnikov coderusin...@gmail.com Can you give me example of using sb2 SailfishOS-i486-x86 environment for

[SailfishDevel] Sailfish app - testing on real device

2013-11-12 Thread Andreas Enbacka
Hello, I am working on porting QSpot Spotify client to SailfishOS, and wondered how reliable testing should be performed. Currently I can test the application on the Emulator; however I have issues with no sound and random application startup issues (not present on current N9/N900 version

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:

[SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andreas Enbacka
Hello, I am using view-setSource(QUrl::fromLocalFile(qml/projectName.qml)) to set the initial qml view for my app, however it is not found using run-time (it tries to access it from /home/nemo/qml/..). What is the correct way to specify the relative path in SailfishOS? BR, Andreas Enbacka

Re: [SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andrey Kozhevnikov
i'm using view-setSource(SailfishApp::pathTo(qml/main.qml)); On 12.11.2013 18:45, Andreas Enbacka wrote: Hello, I am using view-setSource(QUrl::fromLocalFile(qml/projectName.qml)) to set the initial qml view for my app, however it is not found using run-time (it tries to access it from

Re: [SailfishDevel] Problem finding main qml file

2013-11-12 Thread Andreas Enbacka
Thanks, that worked great! //Andreas i'm using view-setSource(SailfishApp::pathTo(qml/main.qml)); On 12.11.2013 18:45, Andreas Enbacka wrote: Hello, I am using view-setSource(QUrl::fromLocalFile(qml/projectName.qml)) to set the initial qml view for my app, however it is not found using

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-12 Thread Marcin M.
Hi, Will there be OBS for Sailfish available? Regards, -- Marcin 2013/11/12 Karl Granström karl.granst...@jolla.com Ahoy all, We managed to fix all issues with the Harbour and it is open again for all of you to dock there harbour.jolla.com. Few updates: We currently support only 3

Re: [SailfishDevel] Packaging for harbour

2013-11-12 Thread Juha Kallioinen
Hi Luciano, some answers below. On 12.11.2013 11:54, Luciano Montanaro wrote: I would like to submit my application for review, but I probably need to do some cleanup: Has the icon size changed to 86x86? If so I will need to update it with the new size. Yes icon size is supposed to be

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-12 Thread Martin Kolman
12.11.2013 17:57, David Greaves: Last I heard the plan was to allow the Mer OBS to build SailfishOS rpms. Sounds great, fingers crossed! :) David On 12/11/13 15:18, Marcin M. wrote: Hi, Will there be OBS for Sailfish available? Regards, -- Marcin 2013/11/12 Karl Granström

[SailfishDevel] Account management

2013-11-12 Thread Tigre-Bleu
Hi, Is there in SailFish the same mechanism as in Harmattan to hold various services user accounts in a single location? (My hope: yes!) If yes is it working in the same way as in harmattan and is it possible to test it with the emulator? Thanks, Antoine