From e36c747c21907b154d6170132933d5ee6d0596eb Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Thu, 10 Oct 2024 00:41:17 +0900 Subject: Fix build fail that is missing to merge Mominavi was ported Qt6 in previous commit. But it's missing to merge from development code to upstream code. This patch fix this merge issue. Bug-AGL: SPEC-5162 Change-Id: I0d5a969fc655c84f31bd1f1877872ad21c635b55 Signed-off-by: Naoto Yamaguchi --- mominavi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mominavi.cpp b/mominavi.cpp index 1fa4338..cc619ab 100644 --- a/mominavi.cpp +++ b/mominavi.cpp @@ -20,6 +20,8 @@ int main(int argc, char *argv[]) }, Qt::QueuedConnection); engine.load(url); + QObject *rootObject = engine.rootObjects().constFirst(); + QString StrEnvLat = qgetenv("MOMIMAP_INITIAL_LATITUDE"); if (StrEnvLat.size() > 0) { rootObject->setProperty("car_position_lat", StrEnvLat); -- cgit 1.2.3-korg