Skip to content

Commit

Permalink
QtLocationPlugin: Link SQL Privately
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Sep 20, 2024
1 parent 8ad91d9 commit 9c0d3e1
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 203 deletions.
2 changes: 1 addition & 1 deletion src/QtLocationPlugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ endif()
target_link_libraries(QGCLocation
PRIVATE
Qt6::Positioning
Qt6::Sql
QGC
Settings
Utilities
Expand All @@ -60,7 +61,6 @@ target_link_libraries(QGCLocation
Qt6::Location
Qt6::LocationPrivate
Qt6::Network
Qt6::Sql
QmlControls
)

Expand Down
2 changes: 1 addition & 1 deletion src/QtLocationPlugin/QGCMapEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ QGCMapEngine::QGCMapEngine(QObject *parent)
QGCMapEngine::~QGCMapEngine()
{
(void) disconnect(m_worker);
m_worker->quit();
m_worker->stop();
m_worker->wait();

// qCDebug(QGCMapEngineLog) << Q_FUNC_INFO << this;
Expand Down
Loading

0 comments on commit 9c0d3e1

Please sign in to comment.