Skip to content

Commit

Permalink
Merge pull request #30 from MikeRatcliffe/macos-use-universal-theme
Browse files Browse the repository at this point in the history
fix: Fix building on Linux (QGuiApplication issue)
  • Loading branch information
victorwads authored Aug 23, 2024
2 parents 9da2795 + 3f72735 commit 39877fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if(APPLE AND MACOS_BUNDLE)
endif()

find_package(Qt6 REQUIRED COMPONENTS Core Gui Quick Network Xml QuickControls2)
find_package(Qt6 REQUIRED COMPONENTS Qml QmlWorkerScript)
find_package(Qt6 REQUIRED COMPONENTS Qml QmlWorkerScript Widgets)
find_package(QCoro6 REQUIRED COMPONENTS Core Qml Network)
find_package(KF6Kirigami)

Expand Down Expand Up @@ -78,6 +78,7 @@ target_link_libraries(${APP_BINARY_NAME} PRIVATE
Qt6::DBus
Qt6::QuickControls2
Qt6::QmlWorkerScript
Qt6::Widgets
QCoro6::Core
QCoro6::Qml
QCoro6::Network
Expand Down
2 changes: 1 addition & 1 deletion src/vrp_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

#include "vrp_manager.h"

#include <QApplication>
#include <QCoroTimer>
#include <QDir>
#include <QGUIApplication>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
Expand Down

0 comments on commit 39877fb

Please sign in to comment.