Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread joao morgado
Hi Chris Thanks for your help. I activated the audio in virtualbox with the options PulseAudio and ICH AC97 (I tested other options also), tested your program and still no sound. From what I've googled, it seems to be a virtualbox problem, some people fix it by changing PulseAudio and ICH AC9

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread christopher . lamb
Hi Joao we need to get your SSH connections working! Just like every driver should at least be able open the bonnet of a car, so being able to ssh to the SDK and Emulator is very handy. (and the little boy in me just loves to open things up ...) Trekking back to the Alpha known issues pag

[SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread Weixiang Guan
Hello everyone, I am new to the Sailfish SDK. I used to develop in Qt before, but the way how Qt and the Sailfish SDK cooperate is new to me. So far I have found some issues in this kind of cooperation. 1. I noticed that when I just installed the SDK, in the Qt creator, if I click on the

Re: [SailfishDevel] UnQLite database engine port to sailfish

2013-06-16 Thread Lucien XU
Hello ! IIRC UnQLite is not available in Sailfish, so you have two solutions. Either build it yourself and embed it to your application, or to use a replacement. Why not simply use sqlite or a QSettings ? If you describe your specific needs, maybe we can find a solution that is better suited

[SailfishDevel] PulleyMenu and Combobox and make it possible to dynamic add items

2013-06-16 Thread Mikael Hermansson
I just wonder if there is a plan for dynamic items in PulleyMenu and Combobox? Right now it seems its only possible to add static items in "compile time"? IMHO it would be better if PulleMenu/Combobox using MVC approach same way as ListView/ListModel etc.. ? Regards Mikael Hermansson alias mik

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
On 16/06/13 09:23, Weixiang Guan wrote: > Hello everyone, I am new to the Sailfish SDK. I used to develop in Qt before, > but the way how Qt and the Sailfish SDK cooperate is new to me. So far I have > found some issues in this kind of cooperation. Thanks for taking the time to provide feedback >

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread Mariano Boragno
I just wanted to add that I had no sound either at Windows. After connecting to the emulator through ssh I just used alsamix to adjust the volume (had to select the sound card in there), it was mutes. That brought the sound on! Hope this helps! Regards... -- ...Mariano Boragno... On 16

Re: [SailfishDevel] PulleyMenu and Combobox and make it possible to dynamic add items

2013-06-16 Thread Mohammed Hassan
On Sun, Jun 16, 2013 at 12:31:20PM +0200, Mikael Hermansson wrote: > I just wonder if there is a plan for dynamic items in PulleyMenu and Combobox? > > Right now it seems its only possible to add static items in "compile time"? > > IMHO it would be better if PulleMenu/Combobox using MVC approach

[SailfishDevel] New Sailfish SDK version released with Qt 5.0.2 support?

2013-06-16 Thread Superpelican
Hello fellow Sailfish Devel list members, I just downloaded the Sailfish SDK again (switched to Mageia, so needed to reinstall everything) and when I imported my existing project it switched me to the configure "Projects" tab in Qt Creator. However there it says Qt 5.0.2 in PATH (System) - temp

Re: [SailfishDevel] New Sailfish SDK version released with Qt 5.0.2 support?

2013-06-16 Thread Lucien XU
Hello ! Maybe you also have Qt 5.0.2 installed, and Qt Creator wrongly detected the Qt 5.0.2 version of Qt as the default one to be used. Go to the "Projects" tab, and select a different Kit (like the Sailfish one) The version of Qt Creator shipped with Sailfish SDK supports development with Q

Re: [SailfishDevel] New Sailfish SDK version released with Qt 5.0.2 support?

2013-06-16 Thread Superpelican
Thanks Lucien XU for replying, somehow I was suspecting this ;) Well we can only wait until the SDK truly supports 5.0.2 :) On 06/16/2013 04:24 PM, Lucien XU wrote: Hello ! Maybe you also have Qt 5.0.2 installed, and Qt Creator wrongly detected the Qt 5.0.2 version of Qt as the default one to b

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread joao morgado
Thank all for your precious help, the sound is working now. Using SSH_AUTH_SOCK=  did the trick, I was able to log in.  Then in the sdk, alsamixer was unknow, I installed alsa-utils with "sudo zypper in alsa-utils" and still no alsamixer. It was when I ssh the emulator that I could use alsamixer,

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread christopher . lamb
Hi João It's really cool that you have got this working! What exactly did you do in alsamixer? If you let us know, then maybe one of the Jolla Sailors will add this to the known issues page. Chris Zitat von "joao morgado" : Thank all for your precious help, the sound is working now. Usi

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread christopher . lamb
HI David Good to hear from you again. My main Sailfish development host is a MacBookAir, mainly because it lets me do stuff like program while sitting on my terrace soaking in the sun (very rare this year) with a beer next to me (the current use case), or hack on the train to work (tomorro

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread Mariano Boragno
Hi Chris, I don't know if João's system has the same specs as mine (Windows 7 64-bit, VBox v4.2.12). What I did (same as João) are the following steps: 1. Connect to the Emulator (SSH or Alt+Ctrl+F2 in the emulator window, nemo/nemo to log in). 2. Run alsamixer in the command line. 3.

Re: [SailfishDevel] UnQLite database engine port to sailfish

2013-06-16 Thread christopher . lamb
Hi James Unless there are several Mrad Chems Eddines, you would appear to be the author of unqlite, and therefore the best person to answer your own question? Chris Zitat von "Mrad Chems Eddine" : Hi, Is there any port of the embedded NoSQL database engine UnQLite (http://unqlite.org)

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread christopher . lamb
Ciao Mariano The key bit is the user nemo. I was trying to start alsamixer as user root, and got "connection refused". After connecting via ssh as user nemo alsamixer works! 1000 grazie Chris Zitat von "Mariano Boragno" : Hi Chris, I don't know if João's system has the same specs as mine

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
On 16/06/13 18:10, christopher.l...@thurweb.ch wrote: > Good to hear from you again. :) busy on the next SDK version ... > My main Sailfish development host is a MacBookAir, mainly because it lets me > do > stuff like program while sitting on my terrace soaking in the sun (very rare > this year)

[SailfishDevel] rare error which I can not reproduce [new]

2013-06-16 Thread Stefan Lahner
Hello, I already send this mail, but somehow it never appeared on the maillist ... (maybe because I added pictures? I changed it to links now!) I found a rare error which I can not reproduce. After uploading the standard project template, and I go back to the home screen, I saw this ignore t

[SailfishDevel] Dynamically filling up a Combobox

2013-06-16 Thread Aleksi Suomalainen
Hello, I was wondering if there is a way to dynamically fill up a ComboBox Silica element in QML ? BR, Aleksi Suomalainen ___ SailfishOS.org Devel mailing list

Re: [SailfishDevel] Dynamically filling up a Combobox

2013-06-16 Thread Stefan Lahner
Hello, maybe this (https://qt-project.org/wiki/QML-Dynamic-Objects) would help? I never used it but this seam to be the way to do this. Regards, Stefan Am 16.06.2013 20:52, schrieb Aleksi Suomalainen: Hello, I was wondering if there is a way to dynamically fill up a ComboBox Silica element

Re: [SailfishDevel] rare error which I can not reproduce [new]

2013-06-16 Thread David Greaves
On 16/06/13 19:47, Stefan Lahner wrote: > Hello, > > I already send this mail, but somehow it never appeared on the maillist ... > (maybe because I added pictures? I changed it to links now!) Yes, in general don't send attachments :) > I found a rare error which I can not reproduce. After upload

Re: [SailfishDevel] Playing a wav in Sailfish

2013-06-16 Thread joao morgado
Hi guys I did exactly the same steps that Mariano did. My system is a Ubuntu based distro, 64 bits.  I ssh the emulator with nemo user, thats the trick. It seems that in some systems the master channel is muted by default, wich causes this problem. All the best   João

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread christopher . lamb
Hi David I hope you explicitly included the "get another beer" as a precondition in your new test 8-) On the timer service, sounds like ...opps! On the SDK with user root: -bash-3.2$ cd /lib/systemd/system/basic.target.wants/ -bash-3.2$ ls -ahl total 16K drwxr-xr-x 2 root root 4.0K 2013-02

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
:) In that case, ssh in as root and paste this: ln -sf ../vboxservice.service /lib/systemd/system/basic.target.wants/ cat

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread christopher . lamb
Hi David After that, Active and Running: So much better than Error and Dead! [root@SailfishSDK ~]# systemctl status vboxservice.service vboxservice.service - VBoxService daemon for various aspects of guest control Loaded: loaded (/lib/systemd/system/vboxservice.service; disabled)

Re: [SailfishDevel] Dynamically filling up a Combobox

2013-06-16 Thread Bea Lam
Hi Aleksi, You could use a Repeater to fill the ComboBox's ContextMenu and then dynamically change the model of the Repeater. E.g. ComboBox { menu: ContextMenu { Repeater { model: ListModel { id: listModel } MenuItem { text: model.name } }