CONFIG += link_pkgconfig
PKGCONFIG += timed

On 24.01.2014 15:13, Nemehlo . wrote:
Thanks, that brings a light into the darkness, however I'm getting errors during compilation now:
*error: undefined reference to `Maemo::Timed::Event::~Event()'*
I get this error for pretty much all Maemo objects.

In cpp file I added #include<timed-qt5/event>
and CONFIG+=timed in pro file

Have I missed something?


------------------------------------------------------------------------
From: jonni.raini...@jolla.com
To: devel@lists.sailfishos.org
Date: Thu, 23 Jan 2014 11:53:41 +0000
Subject: Re: [SailfishDevel] Built-in alarm

Yes, you can use same way what timedclient-qt5 uses (like running "timedclient-qt5 -L" will show you all alarms and reminders):

https://github.com/nemomobile/timed/blob/master/tools/timedclient/timedclient.cpp


------------------------------------------------------------------------
*From:* devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Nemehlo . [michal.mud...@hotmail.com]
*Sent:* Thursday, January 23, 2014 1:40 PM
*To:* devel@lists.sailfishos.org
*Subject:* [SailfishDevel] Built-in alarm

Hello Sailors,

just a quick one: is there a way how to check if the alarm clock is set and at what time? from within either C++ or QML code?

thanks a lot

_______________________________________________ SailfishOS.org Devel mailing list


_______________________________________________
SailfishOS.org Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to