aboutsummaryrefslogtreecommitdiffstats
path: root/app/file_operation.h
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2021-09-08 17:00:35 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2021-09-08 17:16:28 +0100
commitd4629afe76c0df5b14fe085e0a479e4b0e8f14cd (patch)
treee8a9ebfcfa7fb076859fa3ad1ae2ab5ed5d2bf3f /app/file_operation.h
parentfa3bd315abd8a710d7493e6ffb7b54c521632202 (diff)
WIP: Add flatpak-builder+CMake build systemsandbox/samthursfield/flatpak
The existing QMake build relies on `wgtpkg` from app-fw. As QMake is becoming obsolete[1], I implemented a separate build system in CMake. This branch is WIP as it modifies the config search directory to /app/etc directly, which would break the native app build. 1. https://www.qt.io/blog/2019/08/07/technical-vision-qt-6 Signed-off-by: Sam Thursfield <sam.thursfield@codethink.co.uk> Change-Id: I89bfba04265cfad2b0d641e8c1060e62a5e275fd
Diffstat (limited to 'app/file_operation.h')
-rw-r--r--app/file_operation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/file_operation.h b/app/file_operation.h
index da753a8..8a8af79 100644
--- a/app/file_operation.h
+++ b/app/file_operation.h
@@ -9,9 +9,9 @@
/******************************************************
* Please set mapAccessToken, mapStyleUrl, speed,
* interval, latitude and longitude in JSON format
- * in /etc/naviconfig.ini
+ * in /app/etc/naviconfig.ini
******************************************************/
-#define NAVI_CONFIG_FILEPATH "/etc/naviconfig.ini"
+#define NAVI_CONFIG_FILEPATH "/app/etc/naviconfig.ini"
class File_Operation: public QObject{