Ask / Submit

SDK version 1701-1 released

asked 2017-02-09 15:16:54 +0300

Jare gravatar image

updated 2017-04-12 15:32:41 +0300


Today (Apr 12th) the 1701-1 SDK release has been made available to all users.

If you have an older beta release of the SDK, you should see an update notification in the Sailfish OS IDE. View more information in the SDK wiki page and also check out the known issues page.

Happy hacking!


The Sailfish OS SDK update 1701-1 has been released to early access. This update has the latest build environment, which matches the Jolla Release 2.1.0 (Iijoki). It also includes several fixes for bugs that were observed during the 1701 early access period. Please, check out the in-depth release notes at


The Sailfish OS SDK update 1701 has been released to early access. This update has the latest build environment, which matches the Jolla Release 2.1.0 (Iijoki). This SDK update now supports the Qt 5.6.2 environment, which is included in the Jolla Release 2.1.0. Besides that, it also contains a new live coding environment, which allows you to efficiently see the UI changes even on multiple devices at once. Please, check out the QML live coding tutorial from the Sailfish OS wiki!

edit retag flag offensive close delete



I updated my SDK with the EA version but I can't import QTWebEngine 1.0 in QML. As stated in the QT5.6 release notes it should be included into QT5.

Dylan Van Assche ( 2017-02-09 18:49:14 +0300 )edit

Whats about VirtualBox 5? Here I found a warning: "Please note that there still may be some compatibility issues with VirtualBox 5."

utkiek ( 2017-02-23 17:18:51 +0300 )edit

@utkiek No issues with VBox 5 reported past year IIRC - removing that note.

martyone ( 2017-02-23 20:14:27 +0300 )edit

I think you've missed an opportunity to name the update 1701-A – but joking aside: Nice job!

velox ( 2017-03-23 20:34:54 +0300 )edit

4 Answers

Sort by » oldest newest most voted

answered 2017-02-10 01:37:10 +0300

updated 2017-02-16 10:17:34 +0300

When running, I've got some grep warnings:

 QML files
grep: /usr/share/sdk-harbour-rpmvalidator/disallowed_qmlimport_patterns.conf: No such file or directory

Besides, I've got errors also for libraries:

ERROR [] Cannot require shared library: ''
ERROR [] Cannot require shared library: ''

I guess it's due to the '(Qt_5)' mention because the libraries themselves are indeed listed in the allow_libraries.conf file.

Edit 2017-02-16:

  • missing disallowed_qmlimport_patterns.conf is now corrected by this commit
  • I've submitted a PR for the failing libraries.
edit flag offensive delete publish link more

answered 2017-02-18 12:19:28 +0300

velox gravatar image

updated 2017-02-18 12:27:02 +0300

As others discovered, there is something wrong with translation handling on SDK 1701. A contributor and me had the same issue while testing unrelated changes.

Since there seem to be problems reproducing it (and I've somehow messed up my registration on the SailfishDevel list), I'll leave a note here how I was able to reproduce it with my apps. Basically "git clone, open, build":


  • Linux Mint, so basically Ubuntu.

Steps taken (done a few times to be sure):

SDK installation:

  • uninstalled previous installation via SDK Maintenance Tool
  • removed ~/.config/SailfishOS-SDK
  • installed with default settings

Get a current version of the app to build:

  • git clone
  • open in SDK 1701
  • add i486 target to just push it on the emulator
  • "Clean Project" for good measure, but this should not make a difference
  • "Deploy As RPM Package"


As for micu with harbour-Berlin-Vegan in SailfishDevel, errors are thrown. The .qm files are being generated in the correct location, but then the build script tries to read them from a "doubled" path (the project's source path gets prepended). The path should be /home/mersdk/share/projects/sailfish/sleeptimer-github/1701_test/build-slumber-MerSDK_SailfishOS_i486-Debug/translations/harbour-slumber-*.qm



The Errors (just copied the first one here, it's the same for all languages) are:

install: cannot stat '/home/mersdk/share/projects/sailfish/sleeptimer-github/1701_test/slumber//home/mersdk/share/projects/sailfish/sleeptimer-github/1701_test/build-slumber-MerSDK_SailfishOS_i486-Debug/translations/harbour-slumber-de.qm': No such file or directory

make: [install_qm] Error 1 (ignored)

Additional Info:

When looking at the generated Makefile, the paths are indeed doubled, for example:

-$(INSTALL_FILE) /home/mersdk/share/projects/sailfish/sleeptimer-github/1701_test/slumber/"/home/mersdk/share/projects/sailfish/sleeptimer-github/1701_test/build-slumber-MerSDK_SailfishOS_i486-Debug/translations/harbour-slumber-de.qm" $(INSTALL_ROOT)/usr/share/harbour-slumber/translations/

I've also tried to blindly hack around in ~/SailfishOS/mersdk/targets/SailfishOS-i486/usr/share/qt5/mkspecs/features/sailfishapp_i18n.prf, but that didn't change a thing – I'm not sure it's even used. ;)

edit flag offensive delete publish link more


I can confirm it can be reproduced - the build is not terminated though so if you do not scroll up enough in the compile output you will never notice it failed!

martyone ( 2017-02-23 12:04:25 +0300 )edit

As a workaround until a fixed version of the SDK is released you can execute this command inside the build engine VM:

sb2-config -l |xargs -I{} sb2 -t {} -R sed -i 's/\\"//g' /usr/share/qt5/mkspecs/features/sailfishapp_i18n.prf

Undo the change with:

sb2-config -l |xargs -I{} sb2 -t {} -R -m sdk-install zypper in -fy libsailfishapp-devel

(Some info on how to enter the build VM can be found here.)

martyone ( 2017-02-23 12:41:09 +0300 )edit

@martyone thanks a lot for the hint, I'll try this on the weekend. Looking forward to using the 1701 again (because the old one does not show console output on my devices).

You are right, indeed the build does continue. Since the default deploy + start doesn't set the language env, you'll only notice it when manually starting the app and some strings are left untranslated if you're not keeping an eye on the compile output.

velox ( 2017-02-23 13:03:10 +0300 )edit

@velox Add QT_LOGGING_TO_CONSOLE=1 to run environment in project settings to fix the output. The variable changed with the upgrade to Qt 5.6 so the older SDK is not setting this for you.

martyone ( 2017-02-23 13:20:41 +0300 )edit

@martyone you, sir, are many kinds of awesome!

velox ( 2017-02-23 14:06:36 +0300 )edit

answered 2017-04-06 11:55:23 +0300

utkiek gravatar image

After installation the SDK 1701-1 I got this warnings from QT Creator / qmake:

make: warning: File xxx has modification time 123 s in the future.
make: warning: clock skew detected. Your build may be incomplete.

Indeed, the clock inside MerSDK had the correct time. The clock inside my Windows 7 was to late (also after reboot). My solution: a manual sync for windows time service.

I need not the correct time but the identical time in host and guest. This is the job of the VBox guest additions. My questions:

  1. the only source of time inside MerSDK is the host? (no ntp?)
  2. Is there a time sync by starting MerSDK from QT Creator?
edit flag offensive delete publish link more


I have seen this type of an error several time in earlier SDK versions also when deploying the app to device.

Rikujolla ( 2017-04-06 16:54:25 +0300 )edit

answered 2017-04-15 11:31:00 +0300

Xray1806 gravatar image

It seems translation file mssing problem is still not fixed into the lasted release of the SDK 1701-1 (Linux Mint)

lupdate error: File '/home/mersdk/share/Sailfish' does not exist. lrelease error: Cannot open /home/mersdk/share/Sailfish: No such file or directory install -m 644 -p /home/mersdk/share/Sailfish\ Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-de.qm /home/deploy/installroot/usr/share/harbour-sailbook/translations/ install: cannot stat /home/mersdk/share/Sailfish Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-de.qm': No such file or directory make: [install_qm] Error 1 (ignored) install -m 644 -p /home/mersdk/share/Sailfish\ Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-fi.qm /home/deploy/installroot/usr/share/harbour-sailbook/translations/ install -m 644 -p /home/mersdk/share/Sailfish\ Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-nl.qm /home/deploy/installroot/usr/share/harbour-sailbook/translations/ install -m 644 -p /home/mersdk/share/Sailfish\ Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-it.qm /home/deploy/installroot/usr/share/harbour-sailbook/translations/ install: cannot stat/home/mersdk/share/Sailfish Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-fi.qm': No such file or directory make: [install_qm] Error 1 (ignored) install: cannot stat /home/mersdk/share/Sailfish Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-nl.qm': No such file or directory make: [install_qm] Error 1 (ignored) install -m 644 -p /home/mersdk/share/Sailfish\ Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-fr.qm /home/deploy/installroot/usr/share/harbour-sailbook/translations/ cp -f -R /home/mersdk/share/Sailfish\ Development/harbour-sailbook/qml /home/deploy/installroot/usr/share/harbour-sailbook/ install: cannot stat/home/mersdk/share/Sailfish Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-it.qm': No such file or directory make: [install_qm] Error 1 (ignored) install: cannot stat `/home/mersdk/share/Sailfish Development/build-harbour-sailbook-MerSDK_SailfishOS-armv7hl-Release/translations/harbour-sailbook-fr.qm': No such file or directory make: [install_qm] Error 1 (ignored)

edit flag offensive delete publish link more


What you observe seems to be simply result of using whitespace in your project path. Bad idea in general.

martyone ( 2017-04-18 10:19:46 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2017-02-09 15:16:54 +0300

Seen: 1,813 times

Last updated: Apr 15