Skip to content

Commit

Permalink
Merge pull request #99 from dpaulat/feature/location-support
Browse files Browse the repository at this point in the history
Add GPS Location Support
  • Loading branch information
dpaulat authored Nov 24, 2023
2 parents 6e4501f + ad4ae80 commit 8d8f29a
Show file tree
Hide file tree
Showing 20 changed files with 1,500 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
msvc_version: 2022
qt_version: 6.6.0
qt_arch: win64_msvc2019_64
qt_modules: qtimageformats
qt_modules: qtimageformats qtpositioning
qt_tools: ''
conan_arch: x86_64
conan_compiler: Visual Studio
Expand All @@ -46,7 +46,7 @@ jobs:
compiler: gcc
qt_version: 6.6.0
qt_arch: gcc_64
qt_modules: qtimageformats
qt_modules: qtimageformats qtpositioning
qt_tools: ''
conan_arch: x86_64
conan_compiler: gcc
Expand Down
Binary file added scwx-qt/res/textures/images/crosshairs-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added scwx-qt/res/textures/images/crosshairs-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions scwx-qt/scwx-qt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ find_package(QT NAMES Qt6
Network
OpenGL
OpenGLWidgets
Positioning
Widgets REQUIRED)

find_package(Qt${QT_VERSION_MAJOR}
Expand All @@ -33,6 +34,7 @@ find_package(Qt${QT_VERSION_MAJOR}
Network
OpenGL
OpenGLWidgets
Positioning
Widgets
REQUIRED)

Expand All @@ -55,6 +57,7 @@ set(HDR_GL source/scwx/qt/gl/gl.hpp
set(SRC_GL source/scwx/qt/gl/gl_context.cpp
source/scwx/qt/gl/shader_program.cpp)
set(HDR_GL_DRAW source/scwx/qt/gl/draw/draw_item.hpp
source/scwx/qt/gl/draw/geo_icons.hpp
source/scwx/qt/gl/draw/geo_line.hpp
source/scwx/qt/gl/draw/placefile_icons.hpp
source/scwx/qt/gl/draw/placefile_images.hpp
Expand All @@ -64,6 +67,7 @@ set(HDR_GL_DRAW source/scwx/qt/gl/draw/draw_item.hpp
source/scwx/qt/gl/draw/placefile_triangles.hpp
source/scwx/qt/gl/draw/rectangle.hpp)
set(SRC_GL_DRAW source/scwx/qt/gl/draw/draw_item.cpp
source/scwx/qt/gl/draw/geo_icons.cpp
source/scwx/qt/gl/draw/geo_line.cpp
source/scwx/qt/gl/draw/placefile_icons.cpp
source/scwx/qt/gl/draw/placefile_images.cpp
Expand All @@ -74,6 +78,7 @@ set(SRC_GL_DRAW source/scwx/qt/gl/draw/draw_item.cpp
source/scwx/qt/gl/draw/rectangle.cpp)
set(HDR_MANAGER source/scwx/qt/manager/font_manager.hpp
source/scwx/qt/manager/placefile_manager.hpp
source/scwx/qt/manager/position_manager.hpp
source/scwx/qt/manager/radar_product_manager.hpp
source/scwx/qt/manager/radar_product_manager_notifier.hpp
source/scwx/qt/manager/resource_manager.hpp
Expand All @@ -83,6 +88,7 @@ set(HDR_MANAGER source/scwx/qt/manager/font_manager.hpp
source/scwx/qt/manager/update_manager.hpp)
set(SRC_MANAGER source/scwx/qt/manager/font_manager.cpp
source/scwx/qt/manager/placefile_manager.cpp
source/scwx/qt/manager/position_manager.cpp
source/scwx/qt/manager/radar_product_manager.cpp
source/scwx/qt/manager/radar_product_manager_notifier.cpp
source/scwx/qt/manager/resource_manager.cpp
Expand Down Expand Up @@ -166,15 +172,17 @@ set(HDR_TYPES source/scwx/qt/types/alert_types.hpp
source/scwx/qt/types/qt_types.hpp
source/scwx/qt/types/radar_product_record.hpp
source/scwx/qt/types/text_event_key.hpp
source/scwx/qt/types/text_types.hpp)
source/scwx/qt/types/text_types.hpp
source/scwx/qt/types/texture_types.hpp)
set(SRC_TYPES source/scwx/qt/types/alert_types.cpp
source/scwx/qt/types/github_types.cpp
source/scwx/qt/types/imgui_font.cpp
source/scwx/qt/types/layer_types.cpp
source/scwx/qt/types/map_types.cpp
source/scwx/qt/types/radar_product_record.cpp
source/scwx/qt/types/text_event_key.cpp
source/scwx/qt/types/text_types.cpp)
source/scwx/qt/types/text_types.cpp
source/scwx/qt/types/texture_types.cpp)
set(HDR_UI source/scwx/qt/ui/about_dialog.hpp
source/scwx/qt/ui/alert_dialog.hpp
source/scwx/qt/ui/alert_dock_widget.hpp
Expand Down Expand Up @@ -503,6 +511,7 @@ endif()

target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets
Qt${QT_VERSION_MAJOR}::OpenGLWidgets
Qt${QT_VERSION_MAJOR}::Positioning
Boost::json
Boost::timer
qmaplibregl
Expand Down
1 change: 1 addition & 0 deletions scwx-qt/scwx-qt.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
<file>res/palettes/wct/ZDR.pal</file>
<file>res/textures/lines/default-1x7.png</file>
<file>res/textures/lines/test-pattern.png</file>
<file>res/textures/images/crosshairs-24.png</file>
</qresource>
</RCC>
Loading

0 comments on commit 8d8f29a

Please sign in to comment.