Qt example application for GPS
-
Hi,
I am using debian 10, Qt creator 4.8.2 based on qt 5.11.3 on a custom board.
I need a basic Qt test application for GPS.
Any idea??@tech-hi See examples mentioned here: https://doc.qt.io/qt-5/qtpositioning-index.html
Also, if you want to let others know which Qt version you're using then don't mention Qt version which was used to build QtCreator - it is usually not the same version you're using. -
@tech-hi See examples mentioned here: https://doc.qt.io/qt-5/qtpositioning-index.html
Also, if you want to let others know which Qt version you're using then don't mention Qt version which was used to build QtCreator - it is usually not the same version you're using. -
@jsulm
I need a simple application that shows the current location in lattitude and longitude. I couldnt find any from those examples :/@tech-hi
I need a simple application that shows the current location in lattitude and longitude. I couldnt find any from those examples
that's not true
from the GeoFlicker example
-
@tech-hi
I need a simple application that shows the current location in lattitude and longitude. I couldnt find any from those examples
that's not true
from the GeoFlicker example
-
@tech-hi
I need a simple application that shows the current location in lattitude and longitude. I couldnt find any from those examples
that's not true
from the GeoFlicker example
-
#include <iostream>
#include <QGeoCoordinate>
using namespace std;int main()
{
QGeoCoordinate qGeoCoord;
cout
<< "Lat.: " << qGeoCoord.latitude() << endl
<< "Long.: " << qGeoCoord.longitude() << endl
<< "Alt.: " << qGeoCoord.altitude() << endl;
return 0;
}This is a simple code which i wrote, but the output is just "-nan"
What more should i add to the code?