[SailfishDevel] Some issues about developing in the SDK
David Greaves
david.greaves at jollamobile.com
Sun Jun 16 11:35:50 UTC 2013
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
> 1. I noticed that when I just installed the SDK, in the Qt creator, if I
> click on the Mer platform start button or the emulator start button, nothing
> happened. After I restarted the computer, they worked. This does not bother me
> now, but eventually one may need to restart after installation, which I did not
> see in the installation document.
This is not supposed to happen. What host platform are you using?
> 2. Sometimes when I click the emulator start button, the emulator starts,
> but the button is still green, and when deploying, I am told that the emulator
> is not started. Then I need to shut down the emulator and restart it again,
> until the button is red.
We've seen this issue and will handle the VM management better.
> 3. This may not be a bug, but some configuration issue that I don’t know.
> I get very often the warning that the Makefile is modified in some seconds in
> the future. I read some articles in the internet, and it appears that the clock
> of the target computer (which is the Mer platform I presume) is not synchronized
> with the source computer (the hosting computer). If this is not a bug, could
> someone please tell me how I can sync the clock?
There should be a service running to synchronise time : /usr/bin/VBoxService
Running this command as root in the SDK will tell you the status
systemctl status vboxservice.service
> 4. In the Qt creator, all the standard Qt library headers are not found!
> Hence the auto-completion does not work. I need to go to help to check the
> function etc. then I go back to the code. I presume that this may be because of
> the Mer platform SDK, that the app is built there and hence the headers are not
> available in the hosting computer. Could someone please tell me if there is a
> workaround to make Qt creator find the headers, so that the auto-completion
> would work?
Auto completion should work - the header files in the SDK are shared with the
host using the 'targets' shared folder. We're improving testing in this area too.
David/lbt
More information about the Devel
mailing list