We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

SDK install older SailfishOS version [answered]

asked 2017-04-11 20:38:50 +0300

yajo gravatar image

Hey, I just wanted to test a app in older SailfishOS version. Is this possible? And is it possible to install the version for Jolla C? Because aren't there some different package versions, if it isn't possible to install Bluez5 on Jolla 1 now? Thanks Yajo10

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by yajo
close date 2017-04-12 16:56:35.392971

Comments

I don't think this is even possible to have various SailfishOS SDK alongside without tinekring. At least on Linux it attempts to replace the previously installed copy, which is a bummer.

IIUC Jolla C is SFOS2.x only.

I do have SailfishOSSDK-Beta-1506-Qt5-linux-64-offline.run installed. And run SFOS 1.1.7.x on my phone.

piero ( 2017-04-11 22:49:34 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2017-04-12 10:02:56 +0300

martyone gravatar image

Hopefully I correctly understood your question as: "Is it possible to build packages for an older Sailfish OS version?"

If so then the answer is yes - with no warranty though. You have to use an older SDK version.

Since you have not mentioned the exact Sailfish OS version, you will have to determine the matching SDK release yourself. Start with this search https://together.jolla.com/questions/scope:all/sort:activity-desc/tags:sdk/page:1/query:released/.

Then get the appropriate SDK installer here http://releases.sailfishos.org/sdk/installers/. Notice the deprecated word appearing many times.

At least on Linux you can install multiple versions of SDK simultaneously if you provide each with its own HOME directory like in this example:

$ mkdir ~/SailfishOSSDK-1602
$ HOME=~/SailfishOSSDK-1602 ./SailfishOSSDK-Beta-1602-Qt5-linux-64-offline.run
$ HOME=~/SailfishOSSDK-1602 ~/SailfishOSSDK-1602/SailfishOS/bin/qtcreator

But do not try to run multiple SDKs simultaneously! It is not going to work because VirtualBox does not fully respect the HOME environment variable. Always quit one SDK and ensure that VirtualBox is not running before using another SDK with this setup (check for possible background processes e.g. with pgrep -ia vbox).

If it is possible to run a package built with an older version of SDK on Jolla C depends on the actual versions in question. The best is to simply test it. If you do not have a Jolla C device you can verify this by deploying the packages to emulator from a recent SDK version. Learn here how to deploy the package you built with different SDK installation https://sailfishos.org/wiki/Tutorial_-_Building_packages_manually#Moving_and_installing_the_package_manually.

edit flag offensive delete publish link more

Comments

Thanks, this is a great idea!

yajo ( 2017-04-12 16:57:09 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2017-04-11 20:38:50 +0300

Seen: 325 times

Last updated: Apr 12 '17