From b92097723453df4cc55fc92441bb5f6a1216e45a Mon Sep 17 00:00:00 2001 From: Antoine C Date: Thu, 17 Oct 2024 01:26:58 +0100 Subject: [PATCH] fix: add QtQuick to the test target --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 228b4249e219..c6819fc76202 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2801,6 +2801,9 @@ if(QML) # and :/mixxx.org/imports/Mixxx/Controls are placed into beginning of the binary qt_finalize_target(mixxx) + # Required for src/qml/qmlmixxxcontroller.h, used in controllerscriptenginelegacy_test.cpp + target_link_libraries(mixxx-test PRIVATE Qt6::Quick) + install( DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/res/qml"