Initial backend with MQTT support

This commit is contained in:
2024-02-14 18:16:42 -03:00
parent 9c6410ebe7
commit 510af52e97
9 changed files with 190 additions and 27 deletions

View File

@@ -11,18 +11,20 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
find_package(Qt6 COMPONENTS Widgets Qml QuickControls2 REQUIRED)
find_package(Qt6 COMPONENTS Widgets Qml QuickControls2 Mqtt REQUIRED)
add_executable(${PROJECT}
src/main.cpp
src/FileIO.cpp
src/Backend.cpp
src/resources.qrc
src/Gui/Style/resources.qrc)
target_link_libraries(${PROJECT}
Qt::Widgets
Qt::Qml
Qt::QuickControls2)
Qt::QuickControls2
Qt::Mqtt)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_property(TARGET ${PROJECT} PROPERTY WIN32_EXECUTABLE true)