Problem building desktop version with -mobile

Dirk Hohndel dirk at hohndel.org
Tue Dec 27 01:41:20 PST 2016


On Tue, Dec 27, 2016 at 08:33:51AM +0200, Willem Ferguson wrote:
> $ bash subsurface/scripts/build.sh -mobile
> 
> [ 98%] Built target TestPlan
> CMakeFiles/subsurface-mobile.dir/mobile-widgets/qml/kirigami/src/kirigamiplugin.cpp.o:
> In function `KirigamiPlugin::registerTypes(char
> const*)::{lambda(QQmlEngine*, QJSEngine*)#4}::operator()(QQmlEngine*,
> QJSEngine*) const':
> /home/willem/src/subsurface/mobile-widgets/qml/kirigami/src/kirigamiplugin.cpp:65:
> undefined reference to `Settings::Settings(QObject*)'
> CMakeFiles/subsurface-mobile.dir/mobile-widgets/qml/kirigami/src/kirigamiplugin.cpp.o:
> In function `int qmlRegisterSingletonType<Settings>(char const*, int, int,
> char const*, QObject* (*)(QQmlEngine*, QJSEngine*))':
> /usr/include/x86_64-linux-gnu/qt5/QtQml/qqml.h:544: undefined reference to
> `Settings::staticMetaObject'
> 
> Any comments or suggestions?

I don't think anyone has tried to build against Kirigami 2.0, yet.

Not necessarily the rabbit hole I want to go down right now, TBH. But it
certainly needs to be addressed. I'm pushing a simple fix to at least
build. Not sure if I'll get to the point where it works.

/D



More information about the subsurface mailing list