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 unsubscri

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 sailfish

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread Kimmo Lindholm
: [SailfishDevel] Can't use QDeviceInfo > 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::m

[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**)' ___ Sailf

Re: [SailfishDevel] Can't use QDeviceInfo

2015-09-16 Thread Kimmo Lindholm
:41 Vastaanottaja: devel@lists.sailfishos.org Aihe: [SailfishDevel] Can't use QDeviceInfo 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

[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 refe