Can't compile the code because of GPS
Hi guys,
I'm compiling latest version of the source code with the following command (as it seems I can't install qt5positioning-
cmake -DENABLE_GPS=0 -DENABLE_LIBGPS=0 ../..
And after that I get compilation error on StelLocationMgr
I fixed it locally with the following diff underneath.
I was wondering if it is something that should go on the trunk.
If yes what is the process to push it?
Do I have to create a branch and then asked to be reviewed and merged?
Kind regards
Antonio
-------
=== modified file 'src/core/
--- src/core/
+++ src/core/
@@ -704,9 +704,9 @@
connect(
}
+#ifdef ENABLE_LIBGPS
bool StelLocationMgr
{
-#ifdef ENABLE_LIBGPS
if(!libGpsHelper)
{
libGpsHelper = new LibGPSLookupHel
@@ -731,7 +731,7 @@
nmeaHelper-
return true;
}
-#endif
+
emit gpsQueryFinishe
return false;
}
@@ -747,6 +747,7 @@
qWarning()<<err;
emit gpsQueryFinishe
}
+#endif
// slot that receives IP-based location data from the network.
void StelLocationMgr
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Stellarium Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alexander Wolf
- Solved:
- Last query:
- Last reply: