h,

I have a problem in the compilation, it says "undefined reference to vtable".

When I click on the error that point the constructor of my Class.

here is the code
#ifndef SATELLITEACCESS_H
#define SATELLITEACCESS_H
#include <QtCore>
#include<QDebug>
#include <qgeosatelliteinfo.h>
#include <qgeosatelliteinfosource.h>

// Use the QtMobility namespace
using namespace QtMobility;

class SatelliteAccess : public QObject
{

Q_OBJECT
public:
SatelliteAccess(QObject *parent = 0): QObject(parent)
{
//startSatelliteMonitor();
}



private slots:
/**
* Called when the number of satellites in use is updated.
*/
void satellitesInUseUpdated(const QList<QGeoSatelliteInfo> &satellites);
/**
* Called when the number of satellites in view is updated.
*/
void satellitesInViewUpdated(
const QList<QGeoSatelliteInfo> &satellites);

signals :
void SatellitesUsedUpdate(QList<QGeoSatelliteInfo> info );
void SatelliteViewUpdate(QList<QGeoSatelliteInfo> info);

private:
QGeoSatelliteInfoSource *satelliteInfoSource;

void startSatelliteMonitor();

};

#endif // SATELLITEACCESS_H
If I don't put the function "startSatelliteMonitor()" in comment, I have another error
undefined SatelliteAccess::startSatelliteMonitor()
all the code is the same as http://wiki.forum.nokia.com/index.ph...ormation_in_Qt
I just put all the method in a class.


Thanks for help.