[SailfishDevel] How to use Insomniac?
Thomas Tanghus
thomas at tanghus.net
Sat Sep 26 11:39:12 UTC 2015
On Friday 25 September 2015 14:21:36 jollailija at gmail.com wrote:
> I tried to import Insomniac to my Simple Stopwatch by copying the files from
> https://github.com/tanghus/kitchen-timer-qml/tree/master/insomniac to
> simplestopwatch/src/insomniac, replacing kitchentimer in the files with
> simplestopwatch and finally using 'Add Existing Files...' in the IDE (plus
> writing 'import harbour.simplestopwatch.insomniac 1.0' to the QML file).
> Well, it doesn't work, building the project fails. How do I correctly
> import the plugin to my project?
In harbour-simplestopwatch.pro remove or comment out the line "CONFIG +=
sailfishapp".
From the top of my head I can't see any other errors, other than that you
don't need to also add folderlistmodel, display.h/cpp and qmlsettings.h/cpp
unless you need need them. The Insomniac plugin doesn't need them.
--
Med venlig hilsen / Best regards
Thomas Tanghus
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150926/409f8912/attachment.pgp>
More information about the Devel
mailing list