QT 4.7.1 Map Viewer Example(QT mobility API) not able to building



  • The following error occured for gcce build...

    not able to post all the error lines....

    @
    mainwindow.cpp:(.text.ZN5QListIN10QtMobility9QGeoPlaceEE9node_copyEPNS2_4NodeES4_S4[ZN5QListIN10QtMobility9QGeoPlaceEE9node_copyEPNS2_4NodeES4_S4]+0x2e): undefined reference to QtMobility::QGeoPlace::QGeoPlace(QtMobility::QGeoPlace const&)' S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmainwindow.o: In functionQListQtMobility::QGeoCoordinate::node_copy(QListQtMobility::QGeoCoordinate::Node*, QListQtMobility::QGeoCoordinate::Node*, QListQtMobility::QGeoCoordinate::Node*)':
    mainwindow.cpp:(.text.ZN5QListIN10QtMobility14QGeoCoordinateEE9node_copyEPNS2_4NodeES4_S4[ZN5QListIN10QtMobility14QGeoCoordinateEE9node_copyEPNS2_4NodeES4_S4]+0x2e): undefined reference to QtMobility::QGeoCoordinate::QGeoCoordinate(QtMobility::QGeoCoordinate const&)' mainwindow.cpp:(.text._ZN5QListIN10QtMobility14QGeoCoordinateEE9node_copyEPNS2_4NodeES4_S4_[_ZN5QListIN10QtMobility14QGeoCoordinateEE9node_copyEPNS2_4NodeES4_S4_]+0x52): undefined reference toQtMobility::QGeoCoordinate::~QGeoCoordinate()'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmainwindow.o: In function QList<QtMobility::QGeoCoordinate>::node_construct(QList<QtMobility::QGeoCoordinate>::Node*, QtMobility::QGeoCoordinate const&)': mainwindow.cpp:(.text._ZN5QListIN10QtMobility14QGeoCoordinateEE14node_constructEPNS2_4NodeERKS1_[_ZN5QListIN10QtMobility14QGeoCoordinateEE14node_constructEPNS2_4NodeERKS1_]+0x18): undefined reference toQtMobility::QGeoCoordinate::QGeoCoordinate(QtMobility::QGeoCoordinate const&)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmainwindow.o: In function QList<QtMobility::QGeoRoute>::free(QListData::Data*)': mainwindow.cpp:(.text._ZN5QListIN10QtMobility9QGeoRouteEE4freeEPN9QListData4DataE[_ZN5QListIN10QtMobility9QGeoRouteEE4freeEPN9QListData4DataE]+0x28): undefined reference toQtMobility::QGeoRoute::~QGeoRoute()'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o: In function MapWidget::qt_metacast(char const*)': moc_mapwidget.cpp:(.text+0x3e): undefined reference toQtMobility::QGraphicsGeoMap::qt_metacast(char const*)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o: In function MapWidget::qt_metacall(QMetaObject::Call, int, void**)': moc_mapwidget.cpp:(.text+0x56): undefined reference toQtMobility::QGraphicsGeoMap::qt_metacall(QMetaObject::Call, int, void**)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0x0): undefined reference to QtMobility::QGraphicsGeoMap::staticMetaObject' S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0x54): undefined reference toQtMobility::QGraphicsGeoMap::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0x60): undefined reference to QtMobility::QGraphicsGeoMap::shape() const' S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0xa4): undefined reference toQtMobility::QGraphicsGeoMap::resizeEvent(QGraphicsSceneResizeEvent*)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0xf8): undefined reference to non-virtual thunk to QtMobility::QGraphicsGeoMap::shape() const' S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0x110): undefined reference tonon-virtual thunk to QtMobility::QGraphicsGeoMap::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*)'
    S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerMAPVIEWER_EXEGCCEurelmoc_mapwidget.o:(.rodata+0x1b0): undefined reference to `typeinfo for QtMobility::QGraphicsGeoMap'
    make[1]: *** [S60devicesS60_5th_Edition_SDK_v1.0epoc32releasegcceurelMapViewer.exe] Error 1
    make: *** [TARGETMAPVIEWER_EXE] Error 2

    Total Time: 4 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL SymbianCarbideworkspaceFebruarymapviewer final gcce urel
    make -r -f "S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerGCCE.make" FINAL CFG=UREL VERBOSE=-s
    make -j 4 -s -C SymbianCarbideworkspaceFebruarymapviewer -f "MAKEFILE_MAPVIEWER_EXE.MK" TO_ROOT=.......... EPOCBLD=S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDMAKEFILE_MAPVIEWER_EXEGCCE TO_BLDINF=..........SymbianCarbideworkspaceFebruarymapviewer PLATFORM=GCCE CFG=UREL FINAL

    Total Time: 4 sec

    ***Invoking abld command
    perl.exe -S ABLD.PL SymbianCarbideworkspaceFebruarymapviewer test export
    make -r -f "S60devicesS60_5th_Edition_SDK_v1.0EPOC32BUILDSymbianCarbideworkspaceFebruarymapviewerEXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do

    Total Time: 5 sec

    ***Errors were detected in build. See the Problems or Console view for details.

    Total Time: 5 sec
    @

    EDIT: added @-tags for code highlighting, Gerolf


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.