Http Version - Added Alarm Button.
This commit is contained in:
parent
99bc9209af
commit
07bd73bb33
1 changed files with 163 additions and 25 deletions
|
|
@ -3,13 +3,15 @@ cmake_minimum_required(VERSION 3.16)
|
|||
project(WaterLevelRewrite VERSION 0.1 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Quick)
|
||||
find_package(Qt6 REQUIRED COMPONENTS Quick Multimedia)
|
||||
|
||||
qt_standard_project_setup(REQUIRES 6.10)
|
||||
|
||||
qt_add_executable(appWaterLevelRewrite
|
||||
main.cpp
|
||||
media.qrc
|
||||
)
|
||||
|
||||
qt_add_qml_module(appWaterLevelRewrite
|
||||
|
|
@ -22,11 +24,9 @@ qt_add_qml_module(appWaterLevelRewrite
|
|||
SOURCES configinterface.h configinterface.cpp
|
||||
QML_FILES ConnectButton.qml
|
||||
SOURCES requestworker.h requestworker.cpp
|
||||
RESOURCES media.qrc
|
||||
)
|
||||
|
||||
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
|
||||
# If you are developing for iOS or macOS you should consider setting an
|
||||
# explicit, fixed bundle identifier manually though.
|
||||
set_target_properties(appWaterLevelRewrite PROPERTIES
|
||||
# MACOSX_BUNDLE_GUI_IDENTIFIER com.example.appWaterLevelRewrite
|
||||
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||
|
|
@ -36,7 +36,7 @@ set_target_properties(appWaterLevelRewrite PROPERTIES
|
|||
)
|
||||
|
||||
target_link_libraries(appWaterLevelRewrite
|
||||
PRIVATE Qt6::Quick
|
||||
PRIVATE Qt6::Quick Qt6::Multimedia
|
||||
)
|
||||
|
||||
install(TARGETS appWaterLevelRewrite
|
||||
|
|
|
|||
Loading…
Reference in a new issue