Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt example application for GPS
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.
@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.
I need a simple application that shows the current location in lattitude and longitude. I couldnt find any from those examples :/
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
Sorry I am new to programming and i dont have much idea to make use of that piece of code.
Can you be more clear, and help me to get the position.
This post is deleted!
tech.hi last edited by tech.hi
using namespace std;
<< "Lat.: " << qGeoCoord.latitude() << endl
<< "Long.: " << qGeoCoord.longitude() << endl
<< "Alt.: " << qGeoCoord.altitude() << endl;
This is a simple code which i wrote, but the output is just "-nan"
What more should i add to the code?