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

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

2013-11-12 Thread Martin Windolph
Hi, my game, submitted to Jolla Harbour yesterday, just got rejected for the following reasons: The Installation brought up: error: Failed dependencies: libc.so.6(GLIBC_2.0) is needed by morzyn-0.7.14-1.armv7hl libm.so.6(GLIBC_2.0) is needed by morzyn-0.7.14-1.armv7hl I never had these mi

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

[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 _

[SailfishDevel] Jolla Harbour. Application names conflicts

2013-11-12 Thread Semuonov Basil
Hi everyone! I would like to know how Harbour will handle possible applications conflicts. Case 1 - Titles are the same: Dev1 submits application called "Trains Europe" about history of europe trains with binary "trains_1.0.0_armv7hl.rpm" Dev2 submits application called "Trains Europe" about onlin

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 mailto:karl.gra

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 86x86.

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-12 Thread David Greaves
Last I heard the plan was to allow the Mer OBS to build SailfishOS rpms. 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 > > > Ahoy all, > > We

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 > Ahoy all, > > We managed to fix all issues with the Harbour and it is open again for all > of you to dock there . > > Few updates: > We currently support only 3 screenshots but will improve this so th

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 us

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

[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] Jolla Harbour and Jolla Store

2013-11-12 Thread Karl Granström
Ahoy all, We managed to fix all issues with the Harbour and it is open again for all of you to dock there . Few updates: We currently support only 3 screenshots but will improve this so that in the future you can upload more. The optional Cover image dimensions are 540x270 px IMPORTANT NOTICE:

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

2013-11-12 Thread Andreas Enbacka
Hello, Thanks for the info, I will at some point prepare a version for testing and post a link to the rpm. //Andreas 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

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

[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 o

[SailfishDevel] Packaging for harbour

2013-11-12 Thread Luciano Montanaro
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. Moreover, I think the package is meant to be uploaded as an armv7hl rpm, but I cannot build it with qtcreator. What I tr

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

2013-11-12 Thread Andrea Bernabei
ah sorry I was assuming you were using a selfbuilt target nvm then 2013/11/12 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 exampl

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

2013-11-12 Thread Andrey Kozhevnikov
shouldn't it be done by default while SDK installs? On 12.11.2013 15:10, Andrea Bernabei wrote: 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

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 Error:

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 > Can you give me example of using sb2 SailfishOS-i486-x86 environment for > cross-compilation? > > $ sb2 -t Sa

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

2013-11-12 Thread Martin Kampas
Exactly, unless you develop a "system service", you definitely want to store the db under user's home directory. See QStandardPaths[1] and Google for "XDG" if you need more info. Martin [1] http://qt-project.org/doc/qt-5.0/qtcore/qstandardpaths.html On Tuesday, November 12, 2013 08:48:11 AM Jo

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

2013-11-12 Thread David Greaves
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 > Error: Target root directory does not exist > Failed to configure /opt/cross/bin/i486-meego-linux-gnu-gcc > Fa

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] QSqlDatabase cannot create db file when deployed as rpm package

2013-11-12 Thread Martin Kampas
Hi My guess is missing write permissions under /usr/share. Are you sure with the location you chose? I would expect it somewhere under /var instead. Google for Filesystem Hierarchy Standard if you are not sure about this. Martin On Tuesday, November 12, 2013 12:12:53 AM Stockona wrote: > Sourc

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

2013-11-12 Thread Stockona
Ah no wonder... thanks for pointing that out I will change the location accordingly. From: Andrey Kozhevnikov To: devel@lists.sailfishos.org Sent: Tuesday, November 12, 2013 12:30 AM Subject: Re: [SailfishDevel] QSqlDatabase cannot create db file when deploye

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: "Erro

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

2013-11-12 Thread Stockona
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: DB failed to open,  "out of memory Error opening database"  errorType= 1" The path I got when deployed as binary was: DB path= "/opt/sdk/Stockona/usr/share/Stocko

[SailfishDevel] How to? using SB2 environment.

2013-11-12 Thread Andrey Kozhevnikov
Can you give me example of using sb2 SailfishOS-i486-x86 environment for cross-compilation? $ sb2 -t SailfishOS-i486-x86 ./configure Error: Target root directory does not exist Failed to configure /opt/cross/bin/i486-meego-linux-gnu-gcc Failed to upgrade configuration files _

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 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/  QStringdbPath=QStri