Building with -mobile option

Tomaz Canabrava tcanabrava at kde.org
Wed Nov 16 05:16:17 PST 2016


On Wed, Nov 16, 2016 at 1:03 PM, Willem Ferguson <
willemferguson at zoology.up.ac.za> wrote:

> I build Subsurface with the -mobile option but get an error:
> Version 4.5.2-1699-gc25ca on Fedora 23
>
> [ 95%] Building CXX object tests/CMakeFiles/TestRenumber.
> dir/testrenumber.cpp.o
> CMakeFiles/subsurface-mobile.dir/mobile-widgets/qml/kirigami/src/kirigamiplugin.cpp.o:
> In function `int qmlRegisterType<DesktopIcon>(char const*, int, int, char
> const*)':
> /usr/include/qt5/QtQml/qqml.h:238: undefined reference to
> `DesktopIcon::staticMetaObject'
> /usr/include/qt5/QtQml/qqml.h:261: undefined reference to
> `DesktopIcon::staticMetaObject'
>

this seems a build isssue, the staticMetaObject is created by the moc tool,
running on the header files that have a Q_OBJECT macro.



> Looks like a kirigami problem. Any obvious solution?
> My kirigami folder was cloned today, so I doubt it is an out-of-date
> kirigami.
>
> Kind regards,
> willem
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161116/12facd61/attachment.html>


More information about the subsurface mailing list