answered
2017-02-18 12:19:28 +0200
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":
System:
- 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 git@github.com:jgibbon/slumber.git
- 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"
Outcome:
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
not
/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-*.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. ;)
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 +0200 )editWhats 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 +0200 )edit@utkiek No issues with VBox 5 reported past year IIRC - removing that note.
martyone ( 2017-02-23 20:14:27 +0200 )editI think you've missed an opportunity to name the update 1701-A – but joking aside: Nice job!
velox ( 2017-03-23 20:34:54 +0200 )edit