<div dir="ltr"><div><div><div>Hi Willem.<br><br></div>I think attached screenshot  is what you are looking for.<br><br></div>Regards.<br><br></div>Salva.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-23 19:12 GMT+01:00 Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Feb 23, 2015 at 06:17:34PM +0200, Willem Ferguson wrote:<br>
> I get the following unresolved symbols when I build Subsurface using<br>
> QtCreator:<br>
><br>
><br>
> /home/willem/build-subsurface-Desktop_Qt_5_4_0_GCC_64bit-Debug/../subsurface/qt-ui/globe.cpp:192:<br>
> undefined reference to `Marble::MarbleWidget::model()'<br>
><br>
> /home/willem/build-subsurface-Desktop_Qt_5_4_0_GCC_64bit-Debug/../subsurface/qt-ui/globe.cpp:233:<br>
> undefined reference to `Marble::MarbleWidget::model()'<br>
><br>
> .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x60): undefined<br>
> reference to `Marble::MarbleWidget::connectNotify(QMetaMethod const&)'<br>
><br>
> .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x68): undefined<br>
> reference to `Marble::MarbleWidget::disconnectNotify(QMetaMethod const&)'<br>
><br>
> collect2: error: ld returned 1 exit status<br>
><br>
><br>
> Has anything changed with respect to marble?  When I build a new Subsurface<br>
> by hand, I use the following form of qmake:<br>
><br>
> qmake SPECIAL_MARBLE_PREFIX=1<br>
><br>
> However, when I build using QtCreator, I cannot use this option. My<br>
> suspicion is that this is my problem.<br>
<br>
</div></div>Yes you can.<br>
<br>
Go to Projects on the side bar<br>
<br>
Click Build in the "Kit" that you are using.<br>
<br>
Under Build Steps add this under Additional arguments.<br>
<span class="HOEnZb"><font color="#888888"><br>
/D<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</div></div></blockquote></div><br></div>