maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Sailfish SDK version 1608 (2.0.2) Qt5 released (https://talk.maemo.org/showthread.php?t=89294)

marmistrz 2013-10-14 10:18

Re: Sailfish SDK Alpha Qt5 released
 
What's wrong with having lots of libraries in the repos: it doesn't have any downsides - size.dynamic <= size.static

And you don't have out of date libs statically

rainisto 2013-10-14 12:59

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by marmistrz (Post 1380533)
What's wrong with having lots of libraries in the repos: it doesn't have any downsides - size.dynamic <= size.static

And you don't have out of date libs statically

Someone needs to keep the libraries up-to-date, so if your willing to update your favourite library few times a month for the next few years, then your welcomed to donate your time to mer-project. :) Good libraries are always welcomed, the problem is to find active maintainers to all the libs.

If there are thousands of outdated libraries that doesn't compile anymore, for example when gcc toolchain or glibc updates, then you are easily in a mess.

Khertan 2013-10-14 13:31

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by rcolistete (Post 1380283)
But developers want and need freedom and options. Let remember that many Python mobile developers have only some hours per week or month to develop as a hobby, so if there are tools easier to migrate (from Maemo/MeeGo/PC) to Sailfish, they will want them. Some of the Python softwares could be developed in C/C++, but then it would take more developing time and some would not be finished at all.

And please, stop saying mobile Python developers are lazy. They contributed and will contribute with a lot of free and open source softwares for Maemo, MeeGo, Sailfish, etc.

I'm a python dev, and i'm lazy .... I found that making cross plateform apps is easier with pyotherside (or at least a fork i made of an old version (but don't use it !)) :p

But yes having also PyQt is a good things !

xerxes2 2013-10-14 14:01

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by rainisto (Post 1380555)
Someone needs to keep the libraries up-to-date, so if your willing to update your favourite library few times a month for the next few years, then your welcomed to donate your time to mer-project. :) Good libraries are always welcomed, the problem is to find active maintainers to all the libs.

If there are thousands of outdated libraries that doesn't compile anymore, for example when gcc toolchain or glibc updates, then you are easily in a mess.

Well, libs aren't updated that often, but you're right that they don't package themselves. :) And last time I checked Sailfish used gcc-4.6.x and glibc-2.15 which are pretty old ... but next time there's a major update to gcc/glibc it's common sense to rebuild every package of the distribution. But I'd wager most (if not all) package maintainers already know this.

mikecomputing 2013-10-14 18:51

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1380573)
Well, libs aren't updated that often, but you're right that they don't package themselves. :) And last time I checked Sailfish used gcc-4.6.x and glibc-2.15 which are pretty old ... but next time there's a major update to gcc/glibc it's common sense to rebuild every package of the distribution. But I'd wager most (if not all) package maintainers already know this.

You can't compare GCC on X86 with ARM GCC there is plenty of reasons to be carefully when upgrade those.

And when they do all libs has to be recompiled and that is probadly not as easy as when done on a X86.

MartinK 2013-10-15 17:31

Re: Sailfish SDK Alpha Qt5 released
 
Regarding the rebuilding of libraries, Sailfish is based on Mer, which uses the Open Build Service to build everything.

OBS makes re/building stuff for multiple architectures very easy once you have all the targets, builders and related infrastructure setup.
You basically just upload a new source tarball & a spec file and the package and all packages depending on it are automatically rebuilt.

It also supports personal side subprojects and sending packages between project with a review step. Sou you can for example configure your own subproject against the Mer core repo, make sure your library builds fine on all the Mer architecture target and then send submit the package for review.

So while ARM indeed is currently more prone for exotic build failures, the rebuilding logistics itself should not be an issue for Sailfish due to OBS.

PS.: I kinda expect that once a Sailfish device is publicly released that either a public Sailfish OBS shows up or a Sailfish target will be added to the Mer OBS. Like the Harmattan target on the late COBS.

mikecomputing 2013-10-22 11:24

Re: Sailfish SDK Alpha Qt5 released
 
#SailfishOS SDK upgrade comming Today 13.00 UTC

from mailinglist:


Hello again,

Today 13:00 UTC we will publish new installers and repositories for our SailfishOS SDK, Alpha-Qt5-update2 to be exact.
If you have Alpha-Qt5 you should see updates available icon in Qt Creator. If you don't have SailfishOS SDK installed, you can get the latest installers from www.sailfishos.org.

This update is a major step before the launch of the Jolla device as it brings ARM package building to developers.

A couple of things you should be aware of:
- In this update the build engine, emulator and targets are re-installed so you will lose any changes you may have made in those - however, if your application packaging is done correctly, rebuilding your projects should reinstall the packages you have been using.
- All customizations done to SDK (adding new zypper repositories, adding custom targets, additional source paths) will be removed during installation process so make your own backup of those before starting the update.
- If you import existing project made with a previous version of the SailfishOS SDK, make sure you select the correct kit in project configuration step. Both ARM and i486 kits will now be available.
- Windows users need to install VC10 runtime from http://www.microsoft.com/en-us/downl...n.aspx?id=8328 or Installer will ask for admin rights during installation.
- For more information, please see SDK Alpha-Qt5 known issues list at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues

Update itself is performed like the previous one using SDK Maintenance tool with three following steps:
1. maintenance tool itself is updated first. In SailfishOS SDK IDE click on help->start updater->next->next->Update
2. maintenance tool needs to restarted to update the rest of the SDK, click Restart on the UI.
3. once updater has restarted, it asks for the next action, just click Next to proceed ('Update components' is selected by default). Updater lists all the items that are being updated, click Next->Update to proceed.

Here's the release note for this update:

SailfishOS SDK IDE:
* Qt Creator updated to 2.8.1 version.
* Building RPM packages for ARM target is introduced. This is done by selecting ARM kit and running deployment. Deployment to real ARM devices is not supported yet.
* MerSDK VM starts without UI (if MerSDK is to be accessed, UI can be activated from tools->options->mer menu)
* If MerSDK VM is running when Qt Creator is shut down - a prompt is displayed to close it.
* QML profiling is enabled.

Templates/examples:
* SailfishOS application template is updated. The current template does not have so-called boilerplate and is easier to use.
* SailfishOS application examples are updated to build with the latest template.

SDK Maintenance Tool:
* Whole installer framework is based on version 1.4.
* bug fixes, no new functionality.

Documentation:
* Documentations are updated with latest available versions.

Build Engine:
* Support for ARM target introduced
* Support to deploy to emulator using PackageKit
* Lots of fixes to build toolchain.

SailfishOS Emulator:
* Emulator is built from updated Jolla baseline.
* QML profiling support introduced.
* Bug in QML debugging fixed.
* Emulator screen size matches the upcoming Jolla phone.
* Application icon texts are displayed when application grid is pushed up.

SailfishOS Target(s):
* ARM target introduced.
* Both i486 and ARM target builds done on updated Jolla baseline.

If you encounter any issues, please report them to Sailfish developers mailing list at devel@lists.sailfishos.org

Happy hacking!

Best regards,
Jolla Sailfish SDK Team
_______________________________________________
SailfishOS.org Devel mailing list

xerxes2 2013-10-22 19:33

Re: Sailfish SDK Alpha Qt5 released
 
Yeah it's a nice update, but didn't some repo disappear in the process? I had wget before without much ado but now I had to hunt it down in some nemo devel repo. Other than that it seems to work just fine.

Edit:
Code:

zypper ar http://repo.merproject.org/obs/nemo:/devel:/apps/latest_i586/nemo:devel:apps.repo

mikecomputing 2013-10-22 20:33

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1381866)
Yeah it's a nice update, but didn't some repo disappear in the process? I had wget before without much ado but now I had to hunt it down in some nemo devel repo. Other than that it seems to work just fine.

Edit:
Code:

zypper ar http://repo.merproject.org/obs/nemo:/devel:/apps/latest_i586/nemo:devel:apps.repo

yeah some wierdness in the X86 target qmsystem5 failed for me to install but when I installed qmsystem5-devel it seems to work..

also the emulator does not have sound anymore. Or maybe I forgot that I tweeked VM to get that too work last time hmm

xerxes2 2013-10-23 17:07

Re: Sailfish SDK Alpha Qt5 released
 
Your sound problem could be because you're not using pulseaudio! Try to switch to alsa instead, it's a switch in vbox.

And damn the gui is slooooow for me. Is it possible to make it faster somehow. install some drivers or something ...

mikecomputing 2013-10-23 17:23

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1382006)
Your sound problem could be because you're not using pulseaudio! Try to switch to alsa instead, it's a switch in vbox.

And damn the gui is slooooow for me. Is it possible to make it faster somehow. install some drivers or something ...

nope using pulseaudio in kubuntu... :/

aironeous 2013-10-23 17:46

Re: Sailfish SDK Alpha Qt5 released
 
Was someone impatient and put it on their sony device here?
http://forum.xda-developers.com/show....php?t=2389240

xerxes2 2013-10-23 18:38

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by mikecomputing (Post 1382011)
nope using pulseaudio in kubuntu... :/

Oki, then i bet it must be a codec problem.
Code:

gst-launch-0.10 playbin uri='file:///home/nemo/Music/song.mp3'
Try that and see what it spits out.

mikecomputing 2013-10-23 19:39

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1382023)
Oki, then i bet it must be a codec problem.
Code:

gst-launch-0.10 playbin uri='file:///home/nemo/Music/song.mp3'
Try that and see what it spits out.

well in the last SDK there was sound when pulldown menus now thats gone? (are there sound for you?)

BUT just realized could be my kubuntu dist upgrade done last week that had ****ed up the soundsystem to not work with VM as before hmm...

EDIT tested below:

gst-launch-0.10 playbin uri='file:///usr/share/sounds/jolla-ambient/stereo/pulldown_highlight.wav'

and that worked hmm

xerxes2 2013-10-23 19:49

Re: Sailfish SDK Alpha Qt5 released
 
Try to switch to alsa in vbox, settings -> Audio.

mikecomputing 2013-10-23 19:52

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1382040)
Try to switch to alsa in vbox, settings -> Audio.

no point because gst-launch works. but still no sound in pulleymenus..

(if you did see my post before edit I first got an error with gst-launch but that was because I was stupid and run gst-launch as root)

xerxes2 2013-10-23 19:55

Re: Sailfish SDK Alpha Qt5 released
 
But now that you're mentioning it, the UX sounds seems to have disappeared ...

w00t 2013-10-24 21:14

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1382043)
But now that you're mentioning it, the UX sounds seems to have disappeared ...

Check that ngfd is running in your emulator. Pulley sound/haptics now come through ngfd. To debug ngfd, killall -sUSR1 ngfd, and check journalctl -af.

If that works and looks reasonable, then you're probably looking at something being funky with pulseaudio or something fun. The involved codepath is the libcanberra-using plugin of ngfd: https://github.com/nemomobile/ngfd/b...berra/plugin.c

mikecomputing 2013-10-25 00:43

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by w00t (Post 1382255)
Check that ngfd is running in your emulator. Pulley sound/haptics now come through ngfd. To debug ngfd, killall -sUSR1 ngfd, and check journalctl -af.

If that works and looks reasonable, then you're probably looking at something being funky with pulseaudio or something fun. The involved codepath is the libcanberra-using plugin of ngfd: https://github.com/nemomobile/ngfd/b...berra/plugin.c

not running for some reason:

[nemo@SailfishEmul ~]$ killall -sUSR1 ngfd
ngfd: no process found

[nemo@SailfishEmul ~]$ ngfd -v
test file open: No such file or directory
[0.058] ERROR: ffmemless: Could not find a device file
[0.061] ERROR: core: sink 'ffmemless' failed to initialize

rainisto 2013-10-25 04:37

Re: Sailfish SDK Alpha Qt5 released
 
Its a known issue that ui sounds are not working in current sdk release. Will be hopefully fixed on next release.

w00t 2013-10-25 11:18

Re: Sailfish SDK Alpha Qt5 released
 
Quote:

Originally Posted by rainisto (Post 1382305)
Its a known issue that ui sounds are not working in current sdk release. Will be hopefully fixed on next release.

Ah, right.

You could always try build it yourself, for fun:
https://github.com/nemomobile/ngfd/c...a980a1f007aba5

should be the fix for this...

xerxes2 2013-10-25 15:12

Re: Sailfish SDK Alpha Qt5 released
 
And just noticed that they've added a proper os-release too: :)
Code:

[nemo@SailfishEmul ~]$ cat /etc/os-release
NAME=SailfishOS
ID=sailfishos
VERSION=0.98.0.67
VERSION_ID=0.98.0.67
PRETTY_NAME="SailfishOS 0.98.0.67 (i486,testing)"
SAILFISH_BUILD=67
SAILFISH_FLAVOUR=testing
HOME_URL="https://sailfishos.org/"


rcolistete 2013-12-13 12:15

Re: Sailfish SDK Alpha Qt5 released
 
SailfishOS SDK December update available today.

Quote:

Hello again,

Today at 14:00 UTC we will publish new installers, package repositories and updated website documentation for our SailfishOS SDK version Alpha-1312-Qt5.

If you already have an existing Alpha-Qt5 SDK installed you should see updates available icon in Qt Creator. If you don't have it installed, you can get the latest installer from www.sailfishos.org<http://www.sailfishos.org>. It is recommended to uninstall the old SDK and download a new installer.

This update brings the long-awaited Mer ARM device support to Qt Creator and fixes issues with the application template regarding requirements for Harbour submissions. Qt Creator Sailfish kits now also support shadow building, which separates the different architecture builds from each other negating the need to always clean the build directory when switching between ARM and i486 kits.

A couple of things you should be aware of:
- Like before, in this update the build engine, emulator and targets are re-installed so you will lose all changes you may have made in those - however, if your application packaging is done correctly, rebuilding your projects should reinstall the packages you have been using.
- All customization done to SDK (adding new package repositories, adding custom targets, additional source paths) will be removed during the installation process so make your own backup of those before starting the update.
- If you import existing projects made with a previous version of the Sailfish OS SDK, make sure you select the correct kit in the project configuration step. Both ARM and i486 kits are available.
- Windows users need to install VC10 runtime from http://www.microsoft.com/en-us/downl...n.aspx?id=8328 or Installer will ask for admin rights during installation.
- Package repository structure on SailfishOS.org has changed to be closer to the released Jolla phone repositories, so previous SDK installations will not work.
- For more information, please see SDK Alpha-Qt5 known issues list at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.

Here are the release notes of this update.

Installer:
* Setting the additional application source folder now actually works. This setting can be used to specify a project location that is outside of your home directory.

SailfishOS SDK IDE:
* Qt Creator updated to version 2.8.1-3
* Qt Creator uses new wizard to create Mer ARM device, device creation is described on https://sailfishos.org/develop-firstapp-article.html in section 'Create a connection to Mer ARM device'
* Shadow building is supported, you can now safely build applications for both architectures without them clashing.
* Shadow building is on by default for each new project, but can be turned off in project's settings.
* Latest SDK Application template is integrated so Harbour application requirements can be more easily fulfilled.
* User settings are now stored in a new directory (Linux/OSX: $HOME/.config/SailfishAlpha3, Windows:C:\users\username\AppData\Roaming\Sailfish Alpha3) so deleting old settings directory is not mandatory.

Templates/examples/tutorials
* Templates are updated with the latest SDK Application template.
* Quite a few Qt5 tutorial applications were ported to Sailfish OS, they can be found from ~/SailfishOS/tutorials and they can be used to study Sailfish OS application behaviour. Each tutorial's project directory has a README.md file which contains notes from a developer when porting the application from Desktop QML to Sailfish OS. Some of the notes might be outdated.

SDK Maintenance Tool:
* Installer version updated to 1.4.0-2.

Documentation:
* Documentation is updated with latest available versions. Documentation may contain references to Qt 5.0 - please see known issues list at: https://sailfishos.org/wiki/SDK_Alpha_Qt5_Known_Issues.

Build Engine:
* Shadow building creates separate build directories outside your project directory named build-PROJECTNAME-KITNAME-[Debug|Release]
* The RPM packages for your project are also created under the shadow build directory
* Build Engine will not treat missing qtc_ macros in spec file as fatal.

SailfishOS Emulator:
* Emulator software is updated to match Jolla Phone release 1.0.1-10 "Laadunjärvi".
* SSH login password for nemo user can be set with Developer settings in Settings application.
* Package repositories can be refreshed with Developer settings in Settings application.
* Icon sizes are matched to Harbour requirements.

SailfishOS Targets:
* Both i486 and ARM target builds based on updated Jolla baseline.

If you encounter any issues, please report them to Sailfish developers mailing list at devel at lists.sailfishos.org

Happy hacking,
The Jolla SDK Team

rcolistete 2013-12-13 14:32

Re: Sailfish SDK Alpha Qt5 released
 
Downloading Sailfish SDK Alpha-1312-Qt5 :cool: ... done.

Read the SDK Alpha Qt5 Known Issues about some changes.

I've updated the 1st post with new features of Sailfish SDK Alpha-1312-Qt5 : need to set the password in Settings, no pre-installed gcc and zypper, use of pkcon, etc.

rcolistete 2013-12-13 20:03

Re: Sailfish SDK Alpha Qt5 released
 
Backup of 1st post from 2013-08-26, useful to compare the differences between the Sailfish SDK versions.

Sailfish SDK releases :
- Alpha (Qt4 & X11) in February 25th 2013 (for Linux), then updated in April 5th 2013 with Windows and Mac OS, see the release notes;
- Alpha (Qt5 & Wayland) August 1st 2013, see Develop section of the Sailfish.org site to download, how to install, etc.

This topic is intended to discuss Sailfish SDK installation and use.

Sailfish SDK Alpha Qt5 release notes :
"SailfishOS SDK is a collection of tools for developing SailfishOS applications. It includes:
- QtCreator integrated development environment (IDE)
- Mer build engine for cross compilation
- The SailfishOS Emulator
- Tutorial, Design and API Documentation
- Repositories for additional libraries and open source code

This release provides the following programming interfaces :
- Sailfish Silica Qt Quick components 1.0
- Standard Qt Quick2 components"

Tips & Hints & Info :
================

1) "Why is the emulator showing a black screen?"
Type "<host-key> + H" (host key is "Right Ctrl" by default) in Sailfish Emulator.

2) How do I login into the Sailfish Emulator or Mer SDK ?
Start the Emulator and/or Mer-SDK from the SailfishOS IDE, i.e., select a project, then click in "Start SDK" and/or "Start Emulator".
Then, to connect to Emulator from your host Linux :
$ ssh -p 2223 nemo@localhost
with password "nemo". You can uso "sudo" to run root commands like "zypper in <package-name>".
Or by pressing "<host-key> + F2" (host key is "Right Ctrl" by default) in Sailfish Emulator you get a terminal login. Password for nemo user is "nemo", but you can also login as root with no password. "<host-key> + F1" comes back to the Saifish Emulator GUI.
To connect to Mer-SDK from your host Linux :
$ ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
or, as root:
$ ssh -p 2222 -i ~/SailfishOS/vmshare/ssh/private_keys/engine/root root@localhost
Or by pressing "<host-key> + F2" (host key is "Right Ctrl" by default) in Mer SDK you get a terminal login, the root login has no password. "<host-key> + F1" comes back to the Mer SDK initial screen.

3) How do I copy files between host PC and Sailfish SDK Emulator ?
The host PC folder "~/SailfishOS/vmshare/" is shared to "/etc/mersdk/share/" in Sailfish Emulator as read-only. So you can copy files and folders from PC to Sailfish Emulator. Be careful to not delete the folder "ssh" and file "devices.xml". From Sailfish Emulator to PC, you can use scp, e.g., "scp -P 2223 nemo@localhost:filename .".

4) What are versions of the Linux kernel, Qt, gcc and Python ?
Linux kernel 3.6.11, Qt 5.0.2, gcc 4.6.4 and Python 2.7.3.

5) Useful softwares to install in Sailfish Emulator ?
nano, htop, fingerterm :
[nemo@SailfishEmul ~]$ sudo zypper in nano htop fingerterm

6) Python development :
Python 2.7.3 is already installed. Additional python packages for development :
# zypper in python-devel python-setuptools

7) Qt Creator SailfishOS Mode blank window :
For some users (including me), the SailfishOS Mode (in left vertical bar of Qt Creator) shows a blank window ("about:blank"). The solution is to type "127.0.0.1:8080" and "<Enter>".

8) Repository list of Sailfish Emulator :
In "/etc/zypp/repos.d/" :
ssu_adaptation0_release.repo, ssu_jolla_release.repo, ssu_mer-tools_release.repo, ssu_adaptation1_release.repo, ssu_mer-core_release.repo

9) Packages in repositories :
There are about 3,400 packages listed in the Sailfish OS repositories. About Python : approx. 90 packages; Qt5 : 800 packages; Wayland : 50 packages; X11 : 80 packages.

New features of Sailfish SDK Alpha Qt5 :
================================

- it uses Qt 5.0.2 (almost 5.1) instead of Qt 4.8;
- Wayland is used instead of X11 graphical server;
- there is no standard Qt Quick components 1.1 (used in MeeGo Harmattan) package;
- there is no PySide (Qt 4.8 bindings for Python), as it is not yet ported to Qt5, see the "Python & Qt5 on Sailfish" topic;
- so it is now harder to migrate from MeeGo Harmattan to Sailfish, C/C++ developers need to port your Qt 4/Qt Quick 1/Qt Quick components softwares to Qt 5/Qt Quick 2/Silica components. Python developers don't have PySide at all, until now there is only one solution, PyOtherSide, see the "Python & Qt5 on Sailfish" topic;
- Sailfish Emulator has no native terminal (there is fingerterm but it has screen size problems).

Requested features :
================

Some are already know by Jolla :

1) landscape mode in Sailfish Emulator;

2) Sailfish Emulator more populated with softwares, like web browser (needed to test web interfaces, etc), native Terminal, file manager, etc;

3) Qt Creator capable of creating .rpm packages;

4) repository and Jolla store to place Sailfish especific softwares (using Silica components, etc).

wicket 2013-12-13 21:18

Re: Sailfish SDK Alpha 1312 Qt5 released
 
I'm curious as to why the the SDK is still considered to be "Alpha" despite the fact the Jolla device is now available. What else do they plan to chop and change? Is the Silica API considered to be stable?

szopin 2013-12-14 06:02

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Quote:

Originally Posted by wicket (Post 1396192)
I'm curious as to why the the SDK is still considered to be "Alpha" despite the fact the Jolla device is now available. What else do they plan to chop and change? Is the Silica API considered to be stable?

Not sure, but latest update attempt on win8 went terribly wrong, after a thousand clicks on retry then ignores SDK seems to be gone :/

Can anybody suggest the best linux distro companion for Jolla/Sailfish? (one that would use zypper/pkcon, so desktop experience would be as similar as possible to mobile, like debian/ubuntu with maemo) IIRC OpenSuse used rpms, though haven't used it too long, might be mistaken (still hoping for a HWKB OH and being able to just move files from one to the other and continue tinkering on the bus to work). Qt Creator did work on N900, with more ram/dual core this should be possible with not so outrageous compile times

Dave999 2013-12-14 08:43

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Quote:

Originally Posted by wicket (Post 1396192)
I'm curious as to why the the SDK is still considered to be "Alpha" despite the fact the Jolla device is now available. What else do they plan to chop and change? Is the Silica API considered to be stable?

Well, if you use it. look at it. It's alfa For sure and it might be the reason only 50 apps available in jStore.

mikecomputing 2013-12-14 14:18

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Latest ugrade failed for me again, because of the VirtualBox issues, so I had to install from scratch.

Dunno if its related to that I had installed my SDK in non standard dir /opt/SailfishOS instead of /home/$USER/SailfishOS

rcolistete 2013-12-15 17:09

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Just sharing my happy experience with Sailfish on Nokia N9. It is a good complement to Sailfish SDK & emulator because it has a more complete Sailfish (with web browser, real ARM CPU, etc) to test softwares. See the Sailfish Wiki on Maemo.org and the "Porting Sailfish to N9 (or other)" TMO topic.

In my case, I've used a Nokia N9 with open mode kernel, followed the Sailfish Wiki (steps 3, 5, 5, 6 and 7), used vgrade-r3 Sailfish image, enabled Jolla Store using ssu.ini from czdosi, set the date in terminal and shared the Harmattan MyDocs with Sailfish.

coderus 2013-12-15 17:20

Sailfish devs knows why SDK is Alpha. Mostly related to API restrictions for Harbour. When everything good will be whitelisted SDK will get Beta and then Final :)

mikecomputing 2013-12-15 17:48

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Quote:

Originally Posted by coderus (Post 1396807)
Sailfish devs knows why SDK is Alpha. Mostly related to API restrictions for Harbour. When everything good will be whitelisted SDK will get Beta and then Final :)

Yeah there are some missing/not allowed API I hope to see ASAP.

I personally need a NFC API.

Also python/pyotherside should be supported.

rcolistete 2013-12-17 05:20

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Very useful and complete guide (121 pages in PDF !) from Sven Putze :
Developing with SailfishOS - a short introduction.
It was announced in the SailfishDevel list, which I also recommend to follow for anyone interested in developing for Sailfish.

xerxes2 2013-12-21 00:24

Re: Sailfish SDK Alpha 1312 Qt5 released
 
In the faq it says that you should log in as user mersdk but the sb2 arm target has no user/group called mersdk. Is this a bug or feature?

Edit: Which means that rpm is complaining about wrong user/group so I have to add them manually on every friggin sdk update.

pycage 2013-12-23 22:37

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1399310)
In the faq it says that you should log in as user mersdk but the sb2 arm target has no user/group called mersdk. Is this a bug or feature?

Edit: Which means that rpm is complaining about wrong user/group so I have to add them manually on every friggin sdk update.

Don't log into the ARM target. Use mb2 outside the sb2 targets directly in the VM. And there, user mersdk does exist.

xerxes2 2013-12-24 11:15

Re: Sailfish SDK Alpha 1312 Qt5 released
 
I don't log in to the arm target. Is that even possible? No I log in to the sdk as user "mersdk" as it says in the faq and then i build rpm packages using the sb2 command. And rpm complains about wrong user/group because user mersdk is missing in the arm target.

mikecomputing 2013-12-24 11:37

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Quote:

Originally Posted by xerxes2 (Post 1400256)
I don't log in to the arm target. Is that even possible? No I log in to the sdk as user "mersdk" as it says in the faq and then i build rpm packages using the sb2 command. And rpm complains about wrong user/group because user mersdk is missing in the arm target.

use mb -t TARGET build when build rpms it calls sb2 for u.

i write this on jolla so may remember wrong about -t maybe -T anyway mb is the way for most usercases.

solbrit 2013-12-26 12:15

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Okay, getting desperate here. Trying to run the SDK on Debian Wheezy. Hitting the "Start Sdk"-button will always give "MerSDK: Timeout waiting for reply from server" though so I get nowhere. I've been looking around at different tutorials and guides but nothing has gotten me anywhere so far.
This was aaall so easy on Harmattan...

xerxes2 2013-12-31 20:58

Re: Sailfish SDK Alpha 1312 Qt5 released
 
I think we've missed this one sorry. Can you elaborate a little bit more? Where exactly do you try to start the SDK? From Virtualbox? I haven't tried the sdk with wheezy but I think it should work without a hitch. Try to install vbox before you install the sdk and then try to start vbox and run the MerSDK image from there.

0rphu 2014-01-06 16:36

Re: Sailfish SDK Alpha 1312 Qt5 released
 
Downloaded the SDK to give it a go. While not a dev, I know my ./configure make make install. I anticipated this will be different due to VMs and cross compiling, but I've been scratching my head for two days now, and it's going nowhere... Whenever I try building a project, the compiler just spits out
Code:

Invalid mapping mode: sdk-build
Failed to configure /opt/cross/bin/i486-meego-linux-gnu-gcc
Failed to upgrade configuration files

What on earth am I doing wrong?

EDIT: Well d'oh and facepalm. Just found out I had a separate copy of scratchbox installed which used the same .scratchbox2 config directory. Removed all remnants of it (including $PATH), reinstalled the SDK and projects started building...


All times are GMT. The time now is 13:12.

vBulletin® Version 3.8.8