[SailfishDevel] QQmlComponent: Cannot create new component instance before completing the previous

2014-09-11 Thread Krisztian Olah
Hi all, I've just introduced a bug that could cause segfault. It is unknown to me what conditions trigger the bug exactly. I'm clueless as to why it happens, I would be greatful for any kind of help. I attached the error in a txt file I got in console when it crashed. Basically a lot of: "QQmlComp

[SailfishDevel] Include shared library

2014-09-11 Thread Steffen Förster
Hi I want to include two shared libraries in my RPM file and need some help. What is the proper configuration to include the libraries in the RPM. The libraries should be installed in the directory /usr/share/harbour-masterpassword/lib (harbour restriction). I have read the code of the projec

Re: [SailfishDevel] Internationalization problem on Sailfish

2014-09-11 Thread Oleksii Serdiuk
Hi, On 11/09/14 16:59, service wrote: > Hi, I got a problem about internationalization‍ on Sailfish, I want to > add Chinese language to my first Sailfish app, here is what I did > > 1. Add this on my .pro file > TRANSLATIONS += \ > translations/harbour-myappName-zh_CN.ts‍ > > 2.translate t

Re: [SailfishDevel] Internationalization problem on Sailfish

2014-09-11 Thread Jonni Rainisto
You can look for example from here how to use QTranslator to load engineering english + your locale lang. https://github.com/sailfishos/sailfish-office/blob/master/sailfishapplication.cpp#L52 From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfish

Re: [SailfishDevel] Internationalization problem on Sailfish

2014-09-11 Thread Steffen Förster
Hi Have you tried removing the country code "CN"? I can not find an example with a country code on http://qt-project.org. TRANSLATIONS += \ translations/harbour-myappName-zh.ts‍ Steffen Hi, I got a problem about internationalization‍ on Sailfish, I want to add Chinese language to my f

[SailfishDevel] Internationalization problem on Sailfish

2014-09-11 Thread service
Hi, I got a problem about internationalization‍ on Sailfish, I want to add Chinese language to my first Sailfish app, here is what I did 1. Add this on my .pro file TRANSLATIONS += \ translations/harbour-myappName-zh_CN.ts‍ 2.translate the harbour-myappName-zh_CN.ts‍ file Then what I shou