diff options
-rw-r--r-- | app/meson.build | 10 | ||||
-rw-r--r-- | app/qml/InfoWindow.qml | 6 | ||||
-rw-r--r-- | app/qml/Main.qml | 6 | ||||
-rw-r--r-- | app/qml/MapWindow.qml | 7 | ||||
-rw-r--r-- | app/qml/TbtBoard.qml | 2 | ||||
-rw-r--r-- | meson.build | 2 |
6 files changed, 16 insertions, 17 deletions
diff --git a/app/meson.build b/app/meson.build index a7d1e41..b2ee673 100644 --- a/app/meson.build +++ b/app/meson.build @@ -1,5 +1,5 @@ cpp = meson.get_compiler('cpp') -qt5_dep = dependency('qt5', modules: ['Qml', 'Quick', 'Gui', 'Location']) +qt_dep = dependency('qt6', modules: ['Qml', 'Quick', 'Gui', 'Location']) grpcpp_reflection_dep = cpp.find_library('grpc++_reflection') protoc = find_program('protoc') @@ -34,7 +34,7 @@ dep_qtappfw = [ ] tbtnavi_dep = [ - qt5_dep, + qt_dep, dep_qtappfw, grpc_deps ] @@ -46,15 +46,15 @@ tbtnavi_headers = [ 'AglShellGrpcClient.h' ] -moc_files = qt5.compile_moc(headers: tbtnavi_headers, - dependencies: qt5_dep) +moc_files = qt6.compile_moc(headers: tbtnavi_headers, + dependencies: qt_dep) tbtnavi_resources = [ 'images/images.qrc', 'qml/qml.qrc' ] -resource_files = qt5.compile_resources(sources: tbtnavi_resources) +resource_files = qt6.compile_resources(sources: tbtnavi_resources) tbtnavi_src = [ 'main.cpp', diff --git a/app/qml/InfoWindow.qml b/app/qml/InfoWindow.qml index 7183040..b8f5044 100644 --- a/app/qml/InfoWindow.qml +++ b/app/qml/InfoWindow.qml @@ -1,6 +1,6 @@ -import QtQuick 2.9 -import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.0 +import QtQuick +import QtQuick.Layouts +import QtQuick.Controls Rectangle { id: infoWindow diff --git a/app/qml/Main.qml b/app/qml/Main.qml index 80191b0..94d907f 100644 --- a/app/qml/Main.qml +++ b/app/qml/Main.qml @@ -1,7 +1,7 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.2 +import QtQuick +import QtQuick.Controls -import QtQuick.Window 2.11 +import QtQuick.Window ApplicationWindow { id: tbtnavi diff --git a/app/qml/MapWindow.qml b/app/qml/MapWindow.qml index 13eb895..bf659b9 100644 --- a/app/qml/MapWindow.qml +++ b/app/qml/MapWindow.qml @@ -1,6 +1,6 @@ -import QtQuick 2.0 -import QtLocation 5.9 -import QtPositioning 5.9 +import QtQuick +import QtLocation +import QtPositioning import com.mapbox.cheap_ruler 1.0 @@ -66,7 +66,6 @@ Item { center: ruler.currentPosition zoomLevel: maximumZoomLevel < 20 ? maximumZoomLevel : 20 tilt: 60 - gesture.acceptedGestures:MapGestureArea.NoGesture copyrightsVisible: false RotationAnimation on bearing { diff --git a/app/qml/TbtBoard.qml b/app/qml/TbtBoard.qml index ccec5fd..a951558 100644 --- a/app/qml/TbtBoard.qml +++ b/app/qml/TbtBoard.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick //turn by turn board view Item { diff --git a/meson.build b/meson.build index 2a56fd8..9a91ff0 100644 --- a/meson.build +++ b/meson.build @@ -29,5 +29,5 @@ project ( ], ) -qt5 = import('qt5') +qt6 = import('qt6') subdir('app') |