Help with QtCreator

Salvador Cuñat salvador.cunat at gmail.com
Mon Feb 23 10:24:31 PST 2015


Hi Willem.

I think attached screenshot  is what you are looking for.

Regards.

Salva.

2015-02-23 19:12 GMT+01:00 Dirk Hohndel <dirk at hohndel.org>:

> On Mon, Feb 23, 2015 at 06:17:34PM +0200, Willem Ferguson wrote:
> > I get the following unresolved symbols when I build Subsurface using
> > QtCreator:
> >
> >
> >
> /home/willem/build-subsurface-Desktop_Qt_5_4_0_GCC_64bit-Debug/../subsurface/qt-ui/globe.cpp:192:
> > undefined reference to `Marble::MarbleWidget::model()'
> >
> >
> /home/willem/build-subsurface-Desktop_Qt_5_4_0_GCC_64bit-Debug/../subsurface/qt-ui/globe.cpp:233:
> > undefined reference to `Marble::MarbleWidget::model()'
> >
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x60):
> undefined
> > reference to `Marble::MarbleWidget::connectNotify(QMetaMethod const&)'
> >
> > .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x68):
> undefined
> > reference to `Marble::MarbleWidget::disconnectNotify(QMetaMethod const&)'
> >
> > collect2: error: ld returned 1 exit status
> >
> >
> > Has anything changed with respect to marble?  When I build a new
> Subsurface
> > by hand, I use the following form of qmake:
> >
> > qmake SPECIAL_MARBLE_PREFIX=1
> >
> > However, when I build using QtCreator, I cannot use this option. My
> > suspicion is that this is my problem.
>
> Yes you can.
>
> Go to Projects on the side bar
>
> Click Build in the "Kit" that you are using.
>
> Under Build Steps add this under Additional arguments.
>
> /D
>
> _______________________________________________
> 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/20150223/3e528d5b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: instantánea3.png
Type: image/png
Size: 146210 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150223/3e528d5b/attachment-0001.png>


More information about the subsurface mailing list