Thanks Jonni!
So, I need to look at "Mobile APIs" 
(http://qt-project.org/doc/qt-5/mobiledevelopment.html), I presume.

r
wim

On Wednesday, November 12, 2014 09:25:21 AM Jonni Rainisto wrote:
> QtMobility is for Qt4 only, so its not avail for Qt5/SailfishOS.
> 
> Some of old mobility api's have been ported to Qt5 as Add-on modules:
> https://sailfishos.org/wiki/Porting/Harmattan
> 
> re, Jonni
> ________________________________________
> From: devel-boun...@lists.sailfishos.org
> [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries
> [wsvr...@xs4all.nl] Sent: Wednesday, November 12, 2014 11:15 AM
> To: Sailfish OS Developers
> Subject: [SailfishDevel] QSystemInfo: No such file or directory
> 
> Hi,
> I am am trying to build a simple test app using QtMobility 1.2.2.
> (http://doc.qt.digia.com/qtmobility-1.2/quickstart.html)
> 
> Building gives:
> fatal error: QSystemInfo: No such file or directory
> 
> 
> Following Qt instructions I have:
> .pro:
> CONFIG += mobility
>  MOBILITY += systeminfo
> 
> C++:
> #include <QSystemInfo> //(1)
> QTM_USE_NAMESPACE //(2)
> 
> MerSDK has qt5-qtsysteminfo and qt5-qtsysteminfo-devel installed.
> 
> SailfishOS-i486 has qt5-qtsysteminfo and qt5-qtsysteminfo-devel installed.
> 
> (btw I cannot find any libs on the target or MerSDK that point to sth like
> mobility)
> 
> I am overlooking sth.
> Thanks
> r
> wim
> 
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to