Stefan 1f43c541cf chore(CPP): fix not finding module libs on linux/windows
Also fix moving window in new account wizzard

Updates: #6321
2022-08-02 15:30:08 +02:00

31 lines
608 B
CMake

# Custom controls
project(StatusQ_Controls)
set(QT_NO_CREATE_VERSIONLESS_FUNCTIONS true)
find_package(Qt6 ${STATUS_QT_VERSION} COMPONENTS Quick Qml REQUIRED)
qt6_standard_project_setup()
qt6_add_qml_module(${PROJECT_NAME}
URI Status.Controls
VERSION 1.0
QML_FILES
StatusBanner.qml
# Required to suppress "qmllint may not work" warning
OUTPUT_DIRECTORY
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Status/Controls
)
add_subdirectory(Navigation)
target_link_libraries(OnboardingTestHelpers
PRIVATE
Qt6::Quick
Qt6::Qml
StatusQ_Controls_Navigation
)