answered
2017-04-12 10:02:56 +0300
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.
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