Re: [SailfishDevel] About applications presenting a map interface

2015-09-16 Thread Kaj-Michael Lang
On ma, 2015-09-14 at 11:12 +0200, Michele Tameni wrote: > Interesting, I can give it a try and let the other know hopefully by > the end of the week. > Kaj-Michael, any chance to have your sample project to start with? I pushed my testing project to https://github.com/oniongarlic/harbour-are

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread Kimmo Lindholm
do you have such in your .pro CONFIG += link_pkgconfig PKGCONFIG += Qt5SystemInfo ? -kimmo Lähettäjä: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] kyttjn tw_bolek [tw_bo...@op.pl] puolesta Lähetetty: 16. syyskuuta 2015 23:41

Re: [SailfishDevel] setContextProperty

2015-09-16 Thread Andrey Kozhevnikov
Hello, https://lists.sailfishos.org/pipermail/devel/2013-December/001717.html -- Исходное сообщение -- От: "tw_bolek" Кому: "devel@lists.sailfishos.org" Отправлено: 17.09.2015 2:29:27 Тема: [SailfishDevel] setContextProperty Please excuse

[SailfishDevel] setContextProperty

2015-09-16 Thread tw_bolek
Please excuse me guys for being such a newbie. Coming from BB10 where many details are different, I have a lot of problems with even the most basic stuff on Sailfish :( I have a Q_INVOKABLE - let's say something like: QInt DoSomeMath() { // does some calulation return result; } and I need

[SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread tw_bolek
Guys, PLEASE, help me, or soon I'll go nuts. For days I've been struggling to use QtSystemInfo/QDeviceInfo to get IMEI. I need to do it in C++, not in QML. It is properly imported (e.g. #include ), QtCreator recognizes it, but every time I try to build the project I end up with "undefined

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread Kimmo Lindholm
add sailfishapp also to the PKGCONFIG Lähettäjä: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] kyttjn tw_bolek [tw_bo...@op.pl] puolesta Lähetetty: 16. syyskuuta 2015 23:55 Vastaanottaja: devel@lists.sailfishos.org Aihe:

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread tw_bolek
> > >add sailfishapp also to the PKGCONFIG Before you answered, I tried removing CONFIG += link_pkgconfig and only kept PKGCONFIG += Qt5SystemInfo and it builds and works just fine! Thank you guys! ___ SailfishOS.org Devel mailing list To

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread Andrey Kozhevnikov
or just add sailfishapp in config AFTER link_pkgconfig entry ;) -- Исходное сообщение -- От: "Kimmo Lindholm" Кому: "Sailfish OS Developers" Отправлено: 17.09.2015 1:58:51 Тема: Re: [SailfishDevel] Can't use QDeviceInfo add

[SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread tw_bolek
> do you have such in your .pro > CONFIG += link_pkgconfig > PKGCONFIG += Qt5SystemInfo Just added: CONFIG += sailfishapp \ link_pkgconfig PKGCONFIG += Qt5SystemInfo Now I get: undefined reference to `SailfishApp::main(int&, char**)' ___

Re: [SailfishDevel] setContextProperty

2015-09-16 Thread tw_bolek
> Hello, > > https://lists.sailfishos.org/pipermail/devel/2013-December/001717.html Works like a charm, THANK YOU!! ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org