|
|
2010-09-27
, 23:44
|
|
|
Posts: 1,023 |
Thanked: 4,421 times |
Joined on Feb 2010
@ Argentina
|
#2
|
|
|
2010-09-28
, 06:56
|
|
|
Posts: 60 |
Thanked: 40 times |
Joined on May 2010
@ Skovballe, Denmark
|
#3
|
|
|
2010-09-28
, 16:08
|
|
|
Posts: 60 |
Thanked: 40 times |
Joined on May 2010
@ Skovballe, Denmark
|
#5
|
|
|
2010-09-28
, 20:26
|
|
|
Posts: 60 |
Thanked: 40 times |
Joined on May 2010
@ Skovballe, Denmark
|
#6
|

|
|
2010-09-28
, 20:34
|
|
|
Posts: 60 |
Thanked: 40 times |
Joined on May 2010
@ Skovballe, Denmark
|
#7
|
|
|
2012-03-20
, 17:30
|
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#8
|
./locationwatcher.h:5:45: error: QtLocation/QGeoPositionInfoSource: No such file or directory
#ifndef LOCATIONWATCHER_H
#define LOCATIONWATCHER_H
#include <QtSql>
#include <QObject>
#include <QtLocation/QGeoPositionInfoSource>
//#include <QGeoPositionInfoSource>
//using namespace QtMobility;
QTM_USE_NAMESPACE
class LocationWatcher : public QObject
{
Q_OBJECT
public:
explicit LocationWatcher(QObject *parent = 0);
void enable();
void disable();
public Q_SLOTS:
void setinterval(const QString &in0);
void setgpsmode(const QString &in0);
void setradius(const QString &in0);
void stop();
void start();
private slots:
void positionUpdated(const QGeoPositionInfo &info);
private:
double convertToRadians(double);
double cut(double,double,double,double);
QSqlDatabase db;
QSqlDatabase openDB();
QString getSetting(QString key);
QGeoPositionInfoSource *source;
double radius;
};
#endif // LOCATIONWATCHER_H
I have for quite some time been trying to upload my Qt project to extra-dev, and now I have gotten so far that extra-dev at least are trying to build the project, but now I get the following errors :
My control file :
Source: osmapper Section: user/navigation Priority: extra Maintainer: Kim Foder <kim@foder.dk> Build-Depends: debhelper (>= 5), libqt4-dev, libqtm-location Standards-Version: 3.7.3 Homepage: <insert the upstream URL, if relevant> Package: osmapper Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tracker for OpenStreetMap. This is a tool for those who is mapping the world for OpenStreetMap. You won't find any maps or other graphics in this program, all it does is to track your movements via GPS, and alow you to mark waypoints and POI's in a quick and easy way. The track and waypoints is saved to a .GPX file when the session ends.Thanks
Kim